Dongwook Kwon created HADOOP-16322:
--------------------------------------

             Summary: FileNotFoundException for checksum file from 
hadoop-maven-plugins
                 Key: HADOOP-16322
                 URL: https://issues.apache.org/jira/browse/HADOOP-16322
             Project: Hadoop Common
          Issue Type: Bug
          Components: build
    Affects Versions: 2.8.5
            Reporter: Dongwook Kwon
             Fix For: 2.8.5


I found hadoop-maven-plugins has an issue with checksum file creation which was 
updated by https://issues.apache.org/jira/browse/HADOOP-12194 

Since 
[checksumFile|https://github.com/apache/hadoop/blob/branch-2.8.5/hadoop-maven-plugins/src/main/java/org/apache/hadoop/maven/plugin/protoc/ProtocMojo.java#L63]
 is expected to be 
"${project.build.directory}/hadoop-maven-plugins-protoc-checksums.json", when 
${project.build.directory} doesn't exist yet, writing [checksum 
file|https://github.com/apache/hadoop/blob/branch-2.8.5/hadoop-maven-plugins/src/main/java/org/apache/hadoop/maven/plugin/protoc/ProtocMojo.java#L167],
 throws exception.

such as the following from HBase which rely on Hadoop-maven-plugins to generate 
Protoc

 

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on project 
hbase: failed to get report for org.apache.maven.plugins:maven-javadoc-plugin: 
Failed to execute goal org.apache.hadoop:hadoop-maven-plugins:2.8.5:protoc 
(compile-protoc) on project hbase-examples: java.io.FileNotFoundException: 
/Users/dongwook/devrepo/apache-git/hbase/hbase-examples/target/hadoop-maven-plugins-protoc-checksums.json
 (No such file or directory) -> [Help 1]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to