Trouble Shooting I got ConsistencyException this message during spark job, ERROR yarn.ApplicationMaster: User class threw exception: com.amazon.ws.emr.hadoop.fs.consistency.exception.ConsistencyException: Directory 'path_name/datetime=20190916' present in the metadata but not s3After searching google, some people resolved with emrfs command emrfs delete s3://pathBut I can't do emrfs ..
Trouble Shooting This error happens on bootJar job. Execution failed for task ':bootJar'. > Main class name has not been configured and it could not be resolvedThis is because there is no main class in DAO package. (in My case) In my case, just add one line in dao/build.gradle, and fixed. bootJar.enabled = falseBut, if there is exist main class, just set main class in build.gradle like b..
Trouble Shooting I have created initial project and I get DataSourceBeanCreationException Task :common-service:test FAILED com.iamfullstack.common.CommonApplicationTests > contextLoads FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework...