Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-452

Exceptions while running HiveHookIT#testAlterTableRename

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.7-incubating
    • None
    • None

    Description

      27.0.0.1 - - [22/Jan/2016:06:08:54 +0000] "OPTIONS /api/atlas/discovery/search?query=hive_table+as+t+where+tableName+%3D+'tablehdj2zjk9bz',+db+where+name+%3D+'default'+and+clusterName+%3D+'test'+select+t&user.name=sshivalingamurthy HTTP/1.1" 200 - "-" "Java/1.7.0_79"
      2016-01-22 11:38:54.720:WARN:oejs.ServletHandler:qtp127815766-153: /api/atlas/entities
      java.lang.IllegalArgumentException: Input String cannot be null cannot be null
      	at org.apache.atlas.utils.ParamChecker.notNull(ParamChecker.java:40)
      	at org.apache.atlas.web.util.Servlets.escapeJsonString(Servlets.java:146)
      	at org.apache.atlas.web.util.Servlets.getErrorResponse(Servlets.java:125)
      	at org.apache.atlas.web.util.Servlets.getErrorResponse(Servlets.java:107)
      	at org.apache.atlas.web.resources.EntityResource.updateEntities(EntityResource.java:177)
      
      2016-01-22 11:47:08,614 ERROR - [qtp1582368608-323 - ddb67cab-8e11-4434-9cb3-53d95fccc10a:] ~ Unable to persist entity instance (EntityResource:176)
      java.lang.NullPointerException
              at org.apache.atlas.repository.graph.TypedInstanceToGraphMapper.updateClassEdge(TypedInstanceToGraphMapper.java:567)
              at org.apache.atlas.repository.graph.TypedInstanceToGraphMapper.addOrUpdateClassVertex(TypedInstanceToGraphMapper.java:513)
              at org.apache.atlas.repository.graph.TypedInstanceToGraphMapper.addOrUpdateCollectionEntry(TypedInstanceToGraphMapper.java:470)
              at org.apache.atlas.repository.graph.TypedInstanceToGraphMapper.mapArrayCollectionToVertex(TypedInstanceToGraphMapper.java:370)
              at org.apache.atlas.repository.graph.TypedInstanceToGraphMapper.mapAttributesToVertex(TypedInstanceToGraphMapper.java:208)
              at org.apache.atlas.repository.graph.TypedInstanceToGraphMapper.mapInstanceToVertex(TypedInstanceToGraphMapper.java:183)
              at org.apache.atlas.repository.graph.TypedInstanceToGraphMapper.addOrUpdateAttributesAndTraits(TypedInstanceToGraphMapper.java:163)
              at org.apache.atlas.repository.graph.TypedInstanceToGraphMapper.addOrUpdateAttributesAndTraits(TypedInstanceToGraphMapper.java:139)
              at org.apache.atlas.repository.graph.TypedInstanceToGraphMapper.mapTypedInstanceToGraph(TypedInstanceToGraphMapper.java:105)
              at org.apache.atlas.repository.graph.GraphBackedMetadataRepository.updateEntities(GraphBackedMetadataRepository.java:298)
              at org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:42)
              at org.apache.atlas.services.DefaultMetadataService.updateEntities(DefaultMetadataService.java:384)
      

      Attachments

        1. ATLAS-452-v3.patch
          5 kB
          Shwetha GS
        2. ATLAS-452-v2.patch
          5 kB
          Shwetha GS
        3. ATLAS-452.patch
          3 kB
          Shwetha GS

        Activity

          People

            shwethags Shwetha GS
            shwethags Shwetha GS
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: