Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-16322

FileNotFoundException for checksum file from hadoop-maven-plugins

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.8.5
    • Fix Version/s: None
    • Component/s: build
    • Labels:
    • Target Version/s:

      Description

      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 is expected to be "${project.build.directory}/hadoop-maven-plugins-protoc-checksums.json", when ${project.build.directory} doesn't exist yet, writing checksum file, 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]

        Attachments

        1. HADOOP-16322.001.patch
          0.8 kB
          Wei-Chiu Chuang
        2. HADOOP-16322-branch-2.8.5.001.patch
          0.8 kB
          Dongwook Kwon
        3. HADOOP-16322.patch
          0.8 kB
          Dongwook Kwon

          Activity

            People

            • Assignee:
              dongwook Dongwook Kwon
              Reporter:
              dongwook Dongwook Kwon
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: