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

contrib xtrace does not compile from fresh source check out

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.3.0
    • 0.3.0
    • Data Processors
    • None
    • 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

        1. CHUKWA-377.patch
          23 kB
          Ariel Shemaiah Rabkin

        Activity

          People

            asrabkin Ariel Shemaiah Rabkin
            eyang Eric Yang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: