Commit 39eb9f1e by Hemanth Yamijala

ATLAS-890 Log received messages in case of error (sumasai via yhemanth)

parent aad34ae0
...@@ -159,6 +159,11 @@ public class HookNotification implements JsonDeserializer<HookNotification.HookN ...@@ -159,6 +159,11 @@ public class HookNotification implements JsonDeserializer<HookNotification.HookN
public List<Referenceable> getEntities() throws JSONException { public List<Referenceable> getEntities() throws JSONException {
return entities; return entities;
} }
@Override
public String toString() {
return entities.toString();
}
} }
/** /**
...@@ -210,6 +215,16 @@ public class HookNotification implements JsonDeserializer<HookNotification.HookN ...@@ -210,6 +215,16 @@ public class HookNotification implements JsonDeserializer<HookNotification.HookN
public String getAttributeValue() { public String getAttributeValue() {
return attributeValue; return attributeValue;
} }
@Override
public String toString() {
return "{"
+ "entityType='" + typeName + '\''
+ ", attribute=" + attribute
+ ", value=" + attributeValue
+ ", entity=" + entity
+ '}';
}
} }
/** /**
...@@ -247,5 +262,14 @@ public class HookNotification implements JsonDeserializer<HookNotification.HookN ...@@ -247,5 +262,14 @@ public class HookNotification implements JsonDeserializer<HookNotification.HookN
public String getAttributeValue() { public String getAttributeValue() {
return attributeValue; return attributeValue;
} }
@Override
public String toString() {
return "{"
+ "entityType='" + typeName + '\''
+ ", attribute=" + attribute
+ ", value=" + attributeValue
+ '}';
}
} }
} }
...@@ -23,6 +23,7 @@ ATLAS-409 Atlas will not import avro tables with schema read from a file (dosset ...@@ -23,6 +23,7 @@ ATLAS-409 Atlas will not import avro tables with schema read from a file (dosset
ATLAS-379 Create sqoop and falcon metadata addons (venkatnrangan,bvellanki,sowmyaramesh via shwethags) ATLAS-379 Create sqoop and falcon metadata addons (venkatnrangan,bvellanki,sowmyaramesh via shwethags)
ALL CHANGES: ALL CHANGES:
ATLAS-890 Log received messages in case of error (sumasai via yhemanth)
ATLAS-888 NPE in NotificationHookConsumer (sumasai via shwethags) ATLAS-888 NPE in NotificationHookConsumer (sumasai via shwethags)
ATLAS-884 Process registration should call Entity update instead of create (sumasai) ATLAS-884 Process registration should call Entity update instead of create (sumasai)
ATLAS-515 Ability to initialize Kafka topics with more than 1 replica (yhemanth) ATLAS-515 Ability to initialize Kafka topics with more than 1 replica (yhemanth)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment