Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-15967

JMX related parse exception on the perf cluster need to be looked at

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.4.0
    • None
    • None

    Description

      Exception trace :

      13 Apr 2016 18:01:55,591 ERROR [pool-9-thread-434] BaseProvider:240 - Caught exception getting JMX metrics : Unexpected character ('T' (code 84)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
      at [Source: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream@2c495cce; line: 1, column: 2], skipping same exceptions for next 5 minutes
      org.codehaus.jackson.JsonParseException: Unexpected character ('T' (code 84)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
      at [Source: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream@2c495cce; line: 1, column: 2]
      at org.codehaus.jackson.JsonParser._constructError(JsonParser.java:1433)
      at org.codehaus.jackson.impl.JsonParserMinimalBase._reportError(JsonParserMinimalBase.java:521)
      at org.codehaus.jackson.impl.JsonParserMinimalBase._reportUnexpectedChar(JsonParserMinimalBase.java:442)
      at org.codehaus.jackson.impl.Utf8StreamParser._handleUnexpectedValue(Utf8StreamParser.java:2090)
      at org.codehaus.jackson.impl.Utf8StreamParser._nextTokenNotInObject(Utf8StreamParser.java:606)
      at org.codehaus.jackson.impl.Utf8StreamParser.nextToken(Utf8StreamParser.java:492)
      at org.codehaus.jackson.map.ObjectReader._initForReading(ObjectReader.java:638)
      at org.codehaus.jackson.map.ObjectReader._bindAndClose(ObjectReader.java:562)
      at org.codehaus.jackson.map.ObjectReader.readValue(ObjectReader.java:319)
      at org.apache.ambari.server.controller.jmx.JMXPropertyProvider.getHadoopMetricValue(JMXPropertyProvider.java:240)
      at org.apache.ambari.server.controller.jmx.JMXPropertyProvider.populateResource(JMXPropertyProvider.java:218)
      at org.apache.ambari.server.controller.metrics.ThreadPoolEnabledPropertyProvider$1.call(ThreadPoolEnabledPropertyProvider.java:180)
      at org.apache.ambari.server.controller.metrics.ThreadPoolEnabledPropertyProvider$1.call(ThreadPoolEnabledPropertyProvider.java:178)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)

      Attachments

        1. AMBARI-15967.patch
          5 kB
          Andrew Onischuk

        Issue Links

          Activity

            People

              aonishuk Andrew Onischuk
              aonishuk Andrew Onischuk
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: