Member since
04-08-2019
115
Posts
97
Kudos Received
9
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
4183 | 04-16-2016 03:39 AM | |
2249 | 04-14-2016 11:13 AM | |
3890 | 04-13-2016 12:31 PM | |
4893 | 04-08-2016 03:47 AM | |
3889 | 04-07-2016 05:05 PM |
04-06-2016
10:31 AM
3 Kudos
@kael lee You could use the below Curl command to do the same. Change the AMBARI SERVER, Cluster name (c1) , Hostname and component , For example OOZIE_CLIENT curl -u admin:admin -X DELETE http: //AMBARI_SERVER_HOST:8080/api/v1/clusters/c1/hosts/HOSTNAME/host_components/COMPONENTNAME
... View more
04-01-2016
04:51 AM
@Rohit Sureka . Yes. But when you query the data as above , Are you not getting Milli Second Info. As per the official doc, Hive Supports traditional UNIX timestamp with optional nanosecond precision. https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Types#LanguageManualTypes-Timestamps
... View more
03-31-2016
11:08 AM
@Amit Tewari What is the output of falcon entity -type process -list
... View more
03-31-2016
10:15 AM
@Amit Tewari, Did you bounce the falcon and su - falcon and tried the delete from the command line
falcon entity -type cluster -name <<name>> -delete
... View more
03-31-2016
09:04 AM
@Ajay Kuppachi You need to use something like the below one . curl -u admin:admin -H "X-Requested-By: ambari" -X GET http://localhost:8080/api/v1/clusters/HDP_QA/services//FLUME_HANDLER curl -u admin:admin -H "X-Requested-By: ambari" -X DELETE http://localhost:8080/api/v1/clusters/HDP_QA/services/FALCON_SERVER here are the list of components names Ambari understands, [ { "name" : "KAFKA_BROKER" }, { "name" : "SUPERVISOR" }, { "name" : "METRICS_MONITOR" }, { "name" : "FLUME_HANDLER" }, { "name" : "SQOOP" }, { "name" : "YARN_CLIENT" }, { "name" : "FALCON_CLIENT" }, { "name" : "HDFS_CLIENT" }, { "name" : "OOZIE_CLIENT" }, { "name" : "YARN_CLIENT" }, { "name" : "ZOOKEEPER_CLIENT" }, { "name" : "HIVE_CLIENT" }, { "name" : "HCAT" }, { "name" : "MAPREDUCE2_CLIENT" }, { "name" : "HBASE_CLIENT" } ], { "name" : "NODEMANAGER" }, { "name" : "METRICS_MONITOR" }, { "name" : "DATANODE" }, { "name" : "SUPERVISOR" }, { "name" : "HBASE_REGIONSERVER" { "name" : "HBASE_MASTER" }, { "name" : "METRICS_MONITOR" }, { "name" : "ZOOKEEPER_SERVER" }, { "name" : "STORM_UI_SERVER" }, { "name" : "DRPC_SERVER" }, { "name" : "NIMBUS" }, { "name" : "WEBHCAT_SERVER" }, { "name" : "HIVE_SERVER" }, { "name" : "HIVE_METASTORE" }, { "name" : "TEZ_CLIENT" }, { "name" : "HCAT" } { "name" : "METRICS_MONITOR" }, { "name" : "METRICS_COLLECTOR" }, { "name" : "ZOOKEEPER_SERVER" }, { "name" : "HISTORYSERVER" }, { "name" : "APP_TIMELINE_SERVER" }, { "name" : "RESOURCEMANAGER" }, { "name" : "SECONDARY_NAMENODE" } { "name" : "NAMENODE" }, { "name" : "METRICS_MONITOR" }, { "name" : "ZOOKEEPER_SERVER" }
... View more
03-31-2016
08:19 AM
1 Kudo
@Rohit Sureka , You need to cast them as below. select cast(regexp_replace('20141014123456789',
'(\\d{4})(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{3})',
'$1-$2-$3 $4:$5:$6.$7') as timestamp) REF : http://stackoverflow.com/questions/26355194/how-to-convert-a-string-to-timestamp-with-milliseconds-in-hive
... View more
03-29-2016
04:55 AM
@Rohit Sureka Did you review this ? https://github.com/OpenSOC/opensoc-streaming/blob/master/OpenSOC-EnrichmentAdapters/src/main/java/com/opensoc/enrichment/adapters/whois/WhoisHBaseAdapter.java https://github.com/OpenSOC/opensoc-streaming/blob/master/OpenSOC-EnrichmentAdapters/src/main/java/com/opensoc/enrichment/adapters/threat/ThreatHbaseAdapter.java
... View more
01-04-2016
01:11 PM
@Kent Baxley Check what is the $PATH variable used in the script and in the CMD line. try adding the PATH to the script to be same as you run in the cmdline.
... View more
12-29-2015
01:20 PM
What does netstat -nap | grep 4040 gives. you will get the output with the process id . Check what process it is.
... View more
12-14-2015
02:33 PM
Do yo have enough memory in the box ? what is free -m (buffer/cache) showing up ?
... View more