Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
vvaks committed Dec 27, 2016
1 parent a482b2e commit b10c284
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -81,11 +81,11 @@ public static void main(String[] args) {
TopologyBuilder builder = new TopologyBuilder();
Constants constants = new Constants();
String hostClusterName = null;
String deviceLogTable = "device_status_log";
String deviceLogTable = "telecom_device_status_log";
if(args[0] != null){
hostClusterName = args[0];
topologyName = "DeviceMonitorTopology-"+hostClusterName;
deviceLogTable = "device_status_log_"+hostClusterName;
deviceLogTable = "telecom_device_status_log_"+hostClusterName;
}
// Use pipe as record boundary
RecordFormat format = new DelimitedRecordFormat().withFieldDelimiter(",");
Expand Down
2 changes: 1 addition & 1 deletion redeployApplication.sh
Expand Up @@ -98,7 +98,7 @@ nohup spark-submit --class com.hortonworks.iot.spark.streaming.SparkNostradamus

# Redeploy Storm Topology to send topology meta data to Atlas
echo "*********************************Redeploying Storm Topology..."
storm kill DeviceMonitorTopology $CLUSTER_NAME
storm kill DeviceMonitorTopology-$CLUSTER_NAME

curl -u admin:admin -X DELETE 'http://'"$ATLAS_HOST:$ATLAS_PORT"'/api/atlas/entities?type=storm_topology&property=qualifiedName&value=DeviceMonitorTopology'

Expand Down

0 comments on commit b10c284

Please sign in to comment.