It should be related with the build environment. @dong can you please check if there is any *.SF *.DSA *.RSA file in the kylin-job-0.7.1-SNAPSHOT.jar
Best Regard Zhou QianHao On 3/25/15, 4:03 PM, "dong wang" <[email protected]> wrote: >according to: >https://docs.oracle.com/javase/tutorial/deployment/jar/verify.html > >and when running: jarsigner -verify ./lib/kylin-job-0.7.1-SNAPSHOT.jar, it >says >jarsigner: java.lang.SecurityException: Invalid signature file digest for >Manifest main attributes > >thus, there should be still something wrong with this jar when building >process > >2015-03-25 15:52 GMT+08:00 dong wang <[email protected]>: > >> note that the issue only happens when building the source code from >> github, it works OK if directly downloading the tgz file from official >>site~ >> >> 2015-03-25 15:35 GMT+08:00 dong wang <[email protected]>: >> >>> Hi all, today, I checked out the latest code form >>> https://github.com/KylinOLAP/Kylin/tree/staging, it can be built >>> successfully, however, when starting building the cube, the above error >>> occurs again~ is there anyone who meets with the same problem? >>> >>> 2015-03-05 10:32 GMT+08:00 Zhou, Qianhao <[email protected]>: >>> >>>> I have created a ticket: >>>> https://issues.apache.org/jira/browse/KYLIN-621 >>>> >>>> >>>> Best Regard >>>> Zhou QianHao >>>> >>>> >>>> >>>> >>>> >>>> On 3/4/15, 11:30 PM, "dong wang" <[email protected]> wrote: >>>> >>>> >currently, the 2nd issue is also gone, it is caused by that I just >>>> >installed "hive-hcatalog" in MASTER node when kylin-0.71 instead of >>>>ALL >>>> >the >>>> >nodes in the cluster(actually, when kylin-0.6x, it is not necessary >>>>for >>>> >user to install the "hive-hcatalog" in ANY node with CDH 5.3.1 >>>>before), >>>> >therefore, in the cluster's DATA nodes, it says "Error: >>>> >java.lang.RuntimeException: java.lang.ClassNotFoundException: Class >>>> >org.apache.hive.hcatalog.mapreduce.HCatInputFormat not found". >>>> > >>>> >2015-03-04 22:29 GMT+08:00 dong wang <[email protected]>: >>>> > >>>> >> 1, " Job init failed : java.lang.SecurityException: Invalid >>>>signature >>>> >> file digest for Manifest main attributes" is GONE after updating >>>>the >>>> >> pom.xml with adding "<exclude>META-INF/*.SF</exclude>" mentioned >>>>above >>>> >> under "job" directory for the job.jar >>>> >> >>>> >> 2, to the 2nd error mentioned above, as checked the job log, it >>>>shows: >>>> >> Error: java.lang.RuntimeException: >>>>java.lang.ClassNotFoundException: >>>> >>Class >>>> >> org.apache.hive.hcatalog.mapreduce.HCatInputFormat not found >>>> >> >>>> >> >>>> >> however, in tomcat/logs/kylin.log as below, we have actually added >>>>the >>>> >> hcatalog lib for the job and >>>> >> >>>> >>>> >>>>>>/usr/lib/hive-hcatalog/share/hcatalog/hive-hcatalog-core-0.13.1-cdh5. >>>>>>3.2. >>>> >>jar >>>> >> indeeded exists. >>>> >> >>>> >> >>>> >> [pool-7-thread-4]:[2015-03-04 >>>> >> >>>> >>>> >>>>>>22:08:15,357][INFO][org.apache.kylin.job.hadoop.AbstractHadoopJob.set >>>>>>JobC >>>> >>lasspath(AbstractHadoopJob.java:146)] >>>> >> - append job jar: >>>> >> >>>> >>>> >>>>>>/home/user/workspace/kylin-0.7.1-SNAPSHOT/./lib/kylin-job-0.7.1-SNAPS >>>>>>HOT. >>>> >>jar >>>> >> [pool-7-thread-4]:[2015-03-04 >>>> >> >>>> >>>> >>>>>>22:08:15,357][INFO][org.apache.kylin.job.hadoop.AbstractHadoopJob.set >>>>>>JobC >>>> >>lasspath(AbstractHadoopJob.java:152)] >>>> >> - append kylin.hive.dependency: >>>> >> >>>> >>>> >>>>>>/usr/lib/hive/conf:/usr/lib/hive/lib/*:/usr/lib/hive-hcatalog/share/h >>>>>>cata >>>> >>log/hive-hcatalog-core-0.13.1-cdh5.3.2.jar >>>> >> to mapreduce.application.classpath >>>> >> >>>> >>>> >>> >>
