Details

    • Type: Bug
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      'mvn -Pnative-win clean compile' fails with the following error:

      [ERROR] Could not find goal 'protoc' in plugin org.apache.hadoop:hadoop-maven-plugins:3.0.0-SNAPSHOT among available goals -> [Help 1]

      The build succeeds if the install goal is specified.

        Activity

        Hide
        cnauroth Chris Nauroth added a comment -

        This is actually not specific to Windows. I can repro on Mac too. Updating summary.

        Show
        cnauroth Chris Nauroth added a comment - This is actually not specific to Windows. I can repro on Mac too. Updating summary.
        Hide
        arpitagarwal Arpit Agarwal added a comment -

        Thanks Chris, just noticed that too.

        Show
        arpitagarwal Arpit Agarwal added a comment - Thanks Chris, just noticed that too.
        Hide
        teledriver Xiaobo Peng added a comment -

        I can repro on Centos also.

        Show
        teledriver Xiaobo Peng added a comment - I can repro on Centos also.
        Hide
        jagatsingh Jagat Singh added a comment -

        I also got this error but after debug i found i was not having correct version of profbuf 2.5 installed

        I did that and it works

        For record

        Here are steps

        Download from

        http://protobuf.googlecode.com/files/protobuf-2.5.0.tar.bz2
        Extract it

        Install it

        ./configure
        make
        make check
        sudo make install

        sudo ldconfig

        Now try to build again

        It should work happily

        Show
        jagatsingh Jagat Singh added a comment - I also got this error but after debug i found i was not having correct version of profbuf 2.5 installed I did that and it works For record Here are steps Download from http://protobuf.googlecode.com/files/protobuf-2.5.0.tar.bz2 Extract it Install it ./configure make make check sudo make install sudo ldconfig Now try to build again It should work happily
        Hide
        cltlfcjin Lantao Jin added a comment -

        I find it in Ubuntu also, my protocbuf version is 2.5.0

        Show
        cltlfcjin Lantao Jin added a comment - I find it in Ubuntu also, my protocbuf version is 2.5.0
        Hide
        cltlfcjin Lantao Jin added a comment -

        I find a way to pass compile:

        cd hadoop-common-project
        mvn clean compile
        cd ..
        mvn compile

        It all pass!

        Show
        cltlfcjin Lantao Jin added a comment - I find a way to pass compile: cd hadoop-common-project mvn clean compile cd .. mvn compile It all pass!
        Hide
        CraigSv Craig Svenson added a comment -

        All releases fail in the compile running the clean first.
        mvn clean && mvn -X compile -Pnative
        if we run the compile a second time without the clean it builds successfully.

        The error is
        [ERROR] Could not find goal 'protoc' in plugin org.apache.hadoop:hadoop-maven-plugins:2.4.1 among available goals -> [Help 1]
        org.apache.maven.plugin.MojoNotFoundException: Could not find goal 'protoc' in plugin org.apache.hadoop:hadoop-maven-plugins:2.4.1 among available goals

        Show
        CraigSv Craig Svenson added a comment - All releases fail in the compile running the clean first. mvn clean && mvn -X compile -Pnative if we run the compile a second time without the clean it builds successfully. The error is [ERROR] Could not find goal 'protoc' in plugin org.apache.hadoop:hadoop-maven-plugins:2.4.1 among available goals -> [Help 1] org.apache.maven.plugin.MojoNotFoundException: Could not find goal 'protoc' in plugin org.apache.hadoop:hadoop-maven-plugins:2.4.1 among available goals
        Hide
        boky01 Andras Bokor added a comment -

        I cannot reproduce it on Mac. Does somebody still face to this issue?

        Show
        boky01 Andras Bokor added a comment - I cannot reproduce it on Mac. Does somebody still face to this issue?
        Hide
        eepayne Eric Payne added a comment -

        Something similar is definitely still happening on fedora and redhat. This is what I'm getting.

        Could not find artifact org.apache.hadoop:hadoop-maven-plugins:jar:3.1.0-SNAPSHOT
        

        I'm reopening the JIRA.

        Show
        eepayne Eric Payne added a comment - Something similar is definitely still happening on fedora and redhat. This is what I'm getting. Could not find artifact org.apache.hadoop:hadoop-maven-plugins:jar:3.1.0-SNAPSHOT I'm reopening the JIRA.

          People

          • Assignee:
            Unassigned
            Reporter:
            arpitagarwal Arpit Agarwal
          • Votes:
            0 Vote for this issue
            Watchers:
            15 Start watching this issue

            Dates

            • Created:
              Updated:

              Development