Thanks for the PR, I wonder how these files come into the jar 2015年3月25日 下午7:15于 dong wang <[email protected]>写道: so sorry, before, I always checked ./job/target/kylin-job-0.7.1-SNAPSHOT.jar, therefore, no *.SF, *.RSA, *.DSA files, however, there are files named "NB-JWS.SF" and "NB-JWS.DSA" in META-INF directory for kylin-job-0.7.1-SNAPSHOT-job.jar file, 2 ways to resolve the issue: 1, on linux, use zip command to delete the *.SF, *.DSA, *.RSA files shown below, then run command "jarsigner -verify kylin-job-0.7.1-SNAPSHOT.jar" to check whether the delete operations take effect, if you get information like "jar is unsigned. (signatures missing or not parsable)" instead of error information, which means the *.jar is OK now. zip -d kylin-job-0.7.1-SNAPSHOT.jar META-INF/*.SF zip -d kylin-job-0.7.1-SNAPSHOT.jar META-INF/*.DSA zip -d kylin-job-0.7.1-SNAPSHOT.jar META-INF/*.RSA
2, fix the issue from the root cause, I changed the job/pom.xml again based on the fix of issue-621, and submit a pull request: https://github.com/KylinOLAP/Kylin/pull/450 on github, it works successfully with cube building test, so, please review the pull request~ 2015-03-25 17:56 GMT+08:00 Zhou, Qianhao <[email protected]>: > All shade configuration lies in job/pom.xml > > Best Regard > Zhou QianHao > > > > > > On 3/25/15, 5:45 PM, "dong wang" <[email protected]> wrote: > > >after building, I checked the following 2 files: > >jarsigner -verify ./job/target/kylin-job-0.7.1-SNAPSHOT.jar > >jar is unsigned. (signatures missing or not parsable) > > > >jarsigner -verify ./job/target/kylin-job-0.7.1-SNAPSHOT-job.jar > >jarsigner: java.lang.SecurityException: Invalid signature file digest for > >Manifest main attributes > > > >and I also checked ./lib/kylin-job-0.7.1-SNAPSHOT.jar inside tomcat > >directory of my build from source codes, it returns: jarsigner: > >java.lang.SecurityException: Invalid signature file digest for Manifest > >main attributes > > > >while official tgz file returns "jar is unsigned. (signatures missing or > >not parsable)" for ./lib/kylin-job-0.7.1-SNAPSHOT.jar > > > >thus, there should be something wrong with > >"./job/target/kylin-job-0.7.1-SNAPSHOT-job.jar" only, then, where can I > >find the related configuration for > >./job/target/kylin-job-0.7.1-SNAPSHOT-job.jar? > > > >2015-03-25 17:38 GMT+08:00 Zhou, Qianhao <[email protected]>: > > > >> kylin-job-0.7.1-SNAPSHOT.jar is used as a dependency for KYLIN > >> > >> It only includes class in the job module > >> > >> kylin-job-0.7.1-SNAPSHOT-job.jar is the jar file which will be used by > >>MR > >> job > >> > >> It contains class in the job module and its dependency > >> > >> We use maven-shade-plugin to generate "kylin-job-0.7.1-SNAPSHOT-job.jar² > >> You don¹t have to worry about the building process, > >> just run mvm clean package -DskipTests > >> Maven will do the rest of the work. > >> > >> Best Regard > >> Zhou QianHao > >> > >> > >> > >> > >> > >> On 3/25/15, 5:31 PM, "dong wang" <[email protected]> wrote: > >> > >> >Hi,Qianhao, no files such as *.SF, *.DSA, *.RSA files because of the > >>fix > >> >of > >> >issue-621, I have another question, what's the differece between > >> >./job/target/kylin-job-0.7.1-SNAPSHOT.jar and > >> >./job/target/kylin-job-0.7.1-SNAPSHOT-job.jar? and how to configure to > >> >build ./job/target/kylin-job-0.7.1-SNAPSHOT-job.jar? > >> > >> > >
