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

NumberFormatException in ChukwaRollingAppender

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 0.3.0
    • Fix Version/s: None
    • Component/s: Input Tools
    • Labels:
      None
    • Environment:

      Redhat EL 5.1, Java 6

      Description

      Adaptor id change is not compatible with ChukwaRollingAppender. This exception shows up when logging with ChukwaRollingAppender:

      Exception in ChukwaRollingAppender: For input string: "adaptor_be38620efe259f5fdd64d7cb0e96b30f"
      java.lang.NumberFormatException: For input string: "adaptor_be38620efe259f5fdd64d7cb0e96b30f"
      at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
      at java.lang.Long.parseLong(Long.java:403)
      at java.lang.Long.parseLong(Long.java:461)
      at org.apache.hadoop.chukwa.datacollection.controller.ChukwaAgentController.list(ChukwaAgentController.java:316)
      at org.apache.hadoop.chukwa.datacollection.controller.ChukwaAgentController.syncWithAgent(ChukwaAgentController.java:200)
      at org.apache.hadoop.chukwa.datacollection.controller.ChukwaAgentController.<init>(ChukwaAgentController.java:194)
      at org.apache.hadoop.chukwa.inputtools.log4j.ChukwaDailyRollingFileAppender.subAppend(ChukwaDailyRollingFileAppender.java:556)
      at org.apache.log4j.WriterAppender.append(WriterAppender.java:160)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: