[ 
https://issues.apache.org/jira/browse/ATLAS-1499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15870726#comment-15870726
 ] 

Apoorv Naik commented on ATLAS-1499:
------------------------------------

{noformat}
Tests run: 43, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 393.359 sec 
<<< FAILURE! - in org.apache.atlas.hive.hook.HiveHookIT
testAlterTableRename(org.apache.atlas.hive.hook.HiveHookIT)  Time elapsed: 
0.459 sec  <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API 
org.apache.atlas.AtlasBaseClient$APIInfo@7856f41a failed with status 400 (Bad 
Request) Response Body 
({"error":"PII_Trait\\u2E07\\u150E\\u1D79\\u36B9\\uF575\\u722B\\u5841\\u71C5\\uC0C5\\uE1CA:
 invalid name for CLASSIFICATION.  Names must consist of a letter followed by a 
sequence of letter, number, or _ characters"})
        at 
org.apache.atlas.hive.hook.HiveHookIT.createTrait(HiveHookIT.java:946)
        at 
org.apache.atlas.hive.hook.HiveHookIT.testAlterTableRename(HiveHookIT.java:889)

testCreateTable(org.apache.atlas.hive.hook.HiveHookIT)  Time elapsed: 10.485 
sec  <<< FAILURE!
java.lang.AssertionError: expected:<1487308686000> but was:<1487279886000>
        at 
org.apache.atlas.hive.hook.HiveHookIT.verifyTimestamps(HiveHookIT.java:189)
        at 
org.apache.atlas.hive.hook.HiveHookIT.testCreateTable(HiveHookIT.java:170)

testTraitsPreservedOnColumnRename(org.apache.atlas.hive.hook.HiveHookIT)  Time 
elapsed: 5.501 sec  <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API 
org.apache.atlas.AtlasBaseClient$APIInfo@5b3eb1dd failed with status 400 (Bad 
Request) Response Body 
({"error":"PII_Trait\\u381C\\uBA9E\\u605E\\u08CF\\uD4E0\\u151B\\uEF7E\\uA387\\uBCE4\\u4ECF:
 invalid name for CLASSIFICATION.  Names must consist of a letter followed by a 
sequence of letter, number, or _ characters"})
        at 
org.apache.atlas.hive.hook.HiveHookIT.createTrait(HiveHookIT.java:946)
        at 
org.apache.atlas.hive.hook.HiveHookIT.testTraitsPreservedOnColumnRename(HiveHookIT.java:1255)


Results :

Failed tests: 
  HiveHookIT.testAlterTableRename:889->createTrait:946 » AtlasService Metadata 
s...
  HiveHookIT.testCreateTable:170->verifyTimestamps:189 expected:<1487308686000> 
but was:<1487279886000>
  HiveHookIT.testTraitsPreservedOnColumnRename:1255->createTrait:946 » 
AtlasService

{noformat}

These are few failures which are caused due to a recent name restrictions 
that've been placed. The IT code needs to be updated accordingly.

> Notification processing to use new instance API for create and full-update
> --------------------------------------------------------------------------
>
>                 Key: ATLAS-1499
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1499
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Vimal Sharma
>            Assignee: Apoorv Naik
>             Fix For: 0.8-incubating
>
>         Attachments: ATLAS-1499.1.patch, ATLAS-1499.patch
>
>
> Atlas Server notifies the entity change 
> listeners(NotificationEntityChangeListener, EntityAuditListener) after any 
> create/update operation on entities. 
> The create/update routines have been changed in ATLAS-1467. The corresponding 
> changes are required in notification processing.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to