Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.3.0
    • Fix Version/s: 0.4.0
    • Component/s: Tests
    • Labels:

      Description

      12/03/23 22:54:24 ERROR security.UserGroupInformation: PriviledgedActionException as:ubuntu cause:java.io.IOException: java.lang.NoClassDefFoundError: javax/ws/rs/core/StreamingOutput
      12/03/23 22:54:24 INFO ipc.Server: IPC Server handler 6 on 38203, call create(/var/lib/hadoop/cache/ubuntu/mapred/system/jobtracker.info, rwxr-xr-x, DFSClient_1752630607, true, true, 1, 67108864) from 127.0.0.1:48911: error: java.io.IOException: java.lang.NoClassDefFoundError: javax/ws/rs/core/StreamingOutput
      java.io.IOException: java.lang.NoClassDefFoundError: javax/ws/rs/core/StreamingOutput
      at org.apache.hadoop.hdfs.server.namenode.NameNode.getClientMachine(NameNode.java:589)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.create(NameNode.java:619)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        Activity

        Hide
        Karthik K added a comment -

        Aliter:

        <dependency>
        <groupId>javax.ws.rs</groupId>
        <artifactId>jsr311-api</artifactId>
        <version>1.1.1</version>
        </dependency>

        This also works.

        Show
        Karthik K added a comment - Aliter: <dependency> <groupId>javax.ws.rs</groupId> <artifactId>jsr311-api</artifactId> <version>1.1.1</version> </dependency> This also works.
        Hide
        Roman Shaposhnik added a comment -

        +1. Thanks million for the patch! Committed

        Show
        Roman Shaposhnik added a comment - +1. Thanks million for the patch! Committed
        Hide
        Lei Zou added a comment -

        Add proper dependency to the pom at ~/bigtop/bigtop-tests/test-execution/smokes/hadoop

        Show
        Lei Zou added a comment - Add proper dependency to the pom at ~/bigtop/bigtop-tests/test-execution/smokes/hadoop
        Hide
        Lei Zou added a comment -

        diff --git a/bigtop-tests/test-execution/smokes/hadoop/pom.xml b/bigtop-tests/test-execution/smokes/hadoop/pom.xml
        index f346d7c..6afb1c2 100644
        — a/bigtop-tests/test-execution/smokes/hadoop/pom.xml
        +++ b/bigtop-tests/test-execution/smokes/hadoop/pom.xml
        @@ -49,6 +49,11 @@
        <scope>test</scope>
        </dependency>
        <dependency>
        + <groupId>org.apache.cxf</groupId>
        + <artifactId>cxf-rt-frontend-jaxrs</artifactId>
        + <version>2.5.0</version>
        + </dependency>
        + <dependency>
        <groupId>org.apache.hadoop</groupId>
        <artifactId>hadoop-core</artifactId>
        </dependency>

        Show
        Lei Zou added a comment - diff --git a/bigtop-tests/test-execution/smokes/hadoop/pom.xml b/bigtop-tests/test-execution/smokes/hadoop/pom.xml index f346d7c..6afb1c2 100644 — a/bigtop-tests/test-execution/smokes/hadoop/pom.xml +++ b/bigtop-tests/test-execution/smokes/hadoop/pom.xml @@ -49,6 +49,11 @@ <scope>test</scope> </dependency> <dependency> + <groupId>org.apache.cxf</groupId> + <artifactId>cxf-rt-frontend-jaxrs</artifactId> + <version>2.5.0</version> + </dependency> + <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-core</artifactId> </dependency>
        Hide
        Victor Chugunov added a comment -

        Can you use the latest version 2.5.2?
        Thanks

        Show
        Victor Chugunov added a comment - Can you use the latest version 2.5.2? Thanks
        Hide
        Roman Shaposhnik added a comment -

        Lei, if you think you're ready to submit the patch please attach it to the JIRA and put the JIRA into a patch available state.

        Thanks.

        Show
        Roman Shaposhnik added a comment - Lei, if you think you're ready to submit the patch please attach it to the JIRA and put the JIRA into a patch available state. Thanks.
        Hide
        Lei Zou added a comment -

        diff --git a/bigtop-tests/test-execution/smokes/hadoop/pom.xml b/bigtop-tests/test-execution/smokes/hadoop/pom.xml
        index f346d7c..6afb1c2 100644
        — a/bigtop-tests/test-execution/smokes/hadoop/pom.xml
        +++ b/bigtop-tests/test-execution/smokes/hadoop/pom.xml
        @@ -49,6 +49,11 @@
        <scope>test</scope>
        </dependency>
        <dependency>
        + <groupId>org.apache.cxf</groupId>
        + <artifactId>cxf-rt-frontend-jaxrs</artifactId>
        + <version>2.5.0</version>
        + </dependency>
        + <dependency>
        <groupId>org.apache.hadoop</groupId>
        <artifactId>hadoop-core</artifactId>
        </dependency>

        Show
        Lei Zou added a comment - diff --git a/bigtop-tests/test-execution/smokes/hadoop/pom.xml b/bigtop-tests/test-execution/smokes/hadoop/pom.xml index f346d7c..6afb1c2 100644 — a/bigtop-tests/test-execution/smokes/hadoop/pom.xml +++ b/bigtop-tests/test-execution/smokes/hadoop/pom.xml @@ -49,6 +49,11 @@ <scope>test</scope> </dependency> <dependency> + <groupId>org.apache.cxf</groupId> + <artifactId>cxf-rt-frontend-jaxrs</artifactId> + <version>2.5.0</version> + </dependency> + <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-core</artifactId> </dependency>
        Hide
        David Liu added a comment -

        Lei Zou in his blog http://stones333.blogspot.com/2012/03/build-apache-bigtop-30-at-aws.html proposed this fix:
        $cd ~/bigtop/bigtop-tests/test-execution/smokes/hadoop
        add the followings to pom.xml
        <dependency>
        <groupId>org.apache.cxf</groupId>
        <artifactId>cxf-rt-frontend-jaxrs</artifactId><version>2.5.0</version>
        </dependency>

        I verified the fix.

        Show
        David Liu added a comment - Lei Zou in his blog http://stones333.blogspot.com/2012/03/build-apache-bigtop-30-at-aws.html proposed this fix: $cd ~/bigtop/bigtop-tests/test-execution/smokes/hadoop add the followings to pom.xml <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-frontend-jaxrs</artifactId><version>2.5.0</version> </dependency> I verified the fix.

          People

          • Assignee:
            Lei Zou
            Reporter:
            David Liu
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development