Uploaded image for project: 'Chukwa'
  1. Chukwa
  2. CHUKWA-377

contrib xtrace does not compile from fresh source check out

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.3.0
    • Fix Version/s: 0.3.0
    • Component/s: Data Processors
    • Labels:
      None
    • Environment:

      Redhat EL 5.1, Java 6

      Description

      Xtrace contrib module does not compile from fresh checkout. Error message:

      Buildfile: build.xml

      init:

      compile-src:
      [javac] Compiling 2 source files to /Users/eyang/Documents/workspace/chukwa-trunk/build/contrib/chukwa-xtrace/classes
      [javac] /Users/eyang/Documents/workspace/chukwa-trunk/contrib/xtrace/src/java/edu/berkeley/chukwa_xtrace/XtrAdaptor.java:116: warning: [deprecation] hardStop() in org.apache.hadoop.chukwa.datacollection.adaptor.Adaptor has been deprecated
      [javac] public void hardStop() throws AdaptorException {
      [javac] ^
      [javac] /Users/eyang/Documents/workspace/chukwa-trunk/contrib/xtrace/src/java/edu/berkeley/chukwa_xtrace/XtrAdaptor.java:121: warning: [deprecation] shutdown() in org.apache.hadoop.chukwa.datacollection.adaptor.Adaptor has been deprecated
      [javac] public long shutdown() throws AdaptorException {
      [javac] ^
      [javac] /Users/eyang/Documents/workspace/chukwa-trunk/contrib/xtrace/src/java/edu/berkeley/chukwa_xtrace/XtrAdaptor.java:105: getCurrentStatus() in edu.berkeley.chukwa_xtrace.XtrAdaptor cannot implement getCurrentStatus() in org.apache.hadoop.chukwa.datacollection.adaptor.Adaptor; overridden method does not throw org.apache.hadoop.chukwa.datacollection.adaptor.AdaptorException
      [javac] public String getCurrentStatus() throws AdaptorException {
      [javac] ^
      [javac] 1 error
      [javac] 2 warnings

      BUILD FAILED
      /Users/eyang/Documents/workspace/chukwa-trunk/contrib/xtrace/build.xml:211: Compile failed; see the compiler error output for details.

        Attachments

          Activity

            People

            • Assignee:
              asrabkin Ari Rabkin
              Reporter:
              eyang Eric Yang
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: