ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "wkhapy (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-7742) start componet JsonSyntaxException
Date Sat, 11 Oct 2014 07:57:33 GMT
wkhapy created AMBARI-7742:
------------------------------

             Summary: start componet JsonSyntaxException
                 Key: AMBARI-7742
                 URL: https://issues.apache.org/jira/browse/AMBARI-7742
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 1.4.1
            Reporter: wkhapy


when i add new host and start start any component 。
soon in ambari-server log,it output  
 WARN [qtp1684655846-130] ServletHandler:514 - /agent/v1/heartbeat/h2datanode6
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT
but was STRING at line 1 column 178
 at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:176)
        at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40)
        at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:81)
        at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:60)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172)
        at com.google.gson.Gson.fromJson(Gson.java:795)
        at com.google.gson.Gson.fromJson(Gson.java:761)
        at org.apache.ambari.server.api.GsonJsonProvider.readFrom(GsonJsonProvider.java:60)
        at com.sun.jersey.spi.container.ContainerRequest.getEntity(ContainerRequest.java:474)

and ambari-agent lost heart-beat ,anyone has idea ,help



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message