[EDP] WordCount app in examples/tests has wrong package name

Bug #1312866 reported by Trevor McKay
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sahara
Fix Released
Medium
Trevor McKay

Bug Description

The WordCount.java app in sahara-extra/edp-examples, also used in integration tests, is a modified version of the example bundled with hadoop. It was modified to add configs from an Oozie workflow.xml (so that swift configs could be passed to it, for instance).

However, the package name was not changed from org.apache.hadoop.examples. This is actually okay in Hadoop 1.2.1 because the Hadoop examples jar is not on the classpath by default. However, in Hadoop 2.3.0 the Hadoop examples jar is on the classpath by default, and so the original unmodified application is run instead of the modified version in edp-java.jar.

The package name should be changed to org.openstack.sahara.examples

Tags: sahara-extra
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to sahara-extra (master)

Reviewed: https://review.openstack.org/90443
Committed: https://git.openstack.org/cgit/openstack/sahara-extra/commit/?id=7ae699a8b52ae473627d912c52fc68d0224a6765
Submitter: Jenkins
Branch: master

commit 7ae699a8b52ae473627d912c52fc68d0224a6765
Author: Trevor McKay <email address hidden>
Date: Fri Apr 25 14:39:16 2014 -0400

    Change the package name of the example to org.openstack.sahara.examples

    * Rename the included jar to "edp-java.jar" to be consistent
    * Compile the example with Java 6.

    Partial-Bug: #1312866
    Change-Id: I3faa67fa92b2835aa5bc7ca7eb018842465c2c0d

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to sahara (master)

Reviewed: https://review.openstack.org/90445
Committed: https://git.openstack.org/cgit/openstack/sahara/commit/?id=253f4020278e02455c17f8b2bd8af1423afc8db4
Submitter: Jenkins
Branch: master

commit 253f4020278e02455c17f8b2bd8af1423afc8db4
Author: Trevor McKay <email address hidden>
Date: Fri Apr 25 14:49:21 2014 -0400

    Change the package name of the example to org.openstack.sahara.examples

    * Move edp-java.jar to resources/edp-java/
    * Add source to resources/edp-java/

    Partial-Bug: #1312866
    Change-Id: I6e8fcdff09bba5d26aca33d98b94d9cda6a68cb4

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to sahara-extra (master)

Reviewed: https://review.openstack.org/91871
Committed: https://git.openstack.org/cgit/openstack/sahara-extra/commit/?id=1dd44e476db7430c0ac93dabfe80d8ea300a9494
Submitter: Jenkins
Branch: master

commit 1dd44e476db7430c0ac93dabfe80d8ea300a9494
Author: Trevor McKay <email address hidden>
Date: Fri May 2 15:15:55 2014 -0400

    Change class name in example workflow

    Partial-Bug: #1312866
    Change-Id: I88603de256e9314b2ceebf5957e53682841e0b83

Trevor McKay (tmckay)
Changed in sahara:
status: New → Fix Committed
importance: Undecided → Low
assignee: nobody → Trevor McKay (tmckay)
milestone: none → juno-1
Changed in sahara:
importance: Low → Medium
Thierry Carrez (ttx)
Changed in sahara:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in sahara:
milestone: juno-1 → 2014.2
Luigi Toscano (ltoscano)
tags: added: sahara-extra
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.