Member since
10-01-2015
3933
Posts
1150
Kudos Received
374
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
3362 | 05-03-2017 05:13 PM | |
2790 | 05-02-2017 08:38 AM | |
3065 | 05-02-2017 08:13 AM | |
3002 | 04-10-2017 10:51 PM | |
1508 | 03-28-2017 02:27 AM |
11-05-2015
07:50 PM
I recommend you select from each existing table in ambari, usually there are stale alerts, host configs also exist, you need to purge those as well. Don't just delete hostcomponentstate, hostcomponentdesiredstate, etc, go through all tables in ambari database and look for specific service. Sometimes you're lucky and only need to touch those desiredstate and componentstate tables but sometimes you need to clean up alerts, hostconfigs, etc.
... View more
11-05-2015
04:34 PM
Hitting https://issues.apache.org/jira/browse/SQOOP-1400 on Sandbox 2.3.2 when executing sqoop export --connect jdbc:mysql://127.0.0.1/export --username hive --password hive --table exported --export-dir /apps/hive/warehouse/export_table to overcome the issue add the following --driver com.mysql.jdbc.Driver mysql-connector-java-5.1.17 needs to be updated
... View more
Labels:
- Labels:
-
Apache Sqoop
11-04-2015
06:21 PM
2 Kudos
https://issues.apache.org/jira/browse/HIVE-12339
... View more
11-04-2015
05:51 PM
yes, I want to see the results instead of looking in outputofthejob/part-m-0000. I didn't see any options in WebHCat wiki.
... View more
11-04-2015
05:33 PM
2 Kudos
If I execute the following curl -s -d execute="select+*+from+sample_08;" \ -d statusdir="outputofthejob" \ 'http://localhost:50111/templeton/v1/hive?user.name=root' I get a job id of the job in JSON format, is there a way to get actual result of the query rather than job id?
... View more
Labels:
- Labels:
-
Apache HCatalog
-
Apache Hive
-
Apache Pig
11-04-2015
04:39 PM
I believe you can specify one of the nodes, if it's not the active RM, API will detect the proper RM and redirect.
... View more
11-04-2015
04:27 PM
1 Kudo
you need to set spoutConfig.useStartOffsetTimeIfOffsetOutOfRange = true;
spoutConfig.startOffsetTime = kafka.api.OffsetRequest.EarliestTime();
KafkaSpout kafkaSpout = new KafkaSpout(spoutConfig);
... View more
11-03-2015
09:56 PM
1 Kudo
check limits on the user in the background and in the foreground. There may be an OS limit on background processes.
... View more
11-03-2015
09:54 PM
1 Kudo
add "`whoami'" and "`hostname`" to the script, see what prints out. I'd also add "2>&1 | tee -a log", i.e. redirect the output of the console to a file to see the output in foreground and background. It should give you some insight to what's happening. What specifically is the reason to running it in the background @Kent Baxley?
... View more