Member since
09-25-2015
101
Posts
51
Kudos Received
25
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1122 | 08-25-2017 01:06 PM | |
1519 | 05-16-2017 12:53 PM | |
1168 | 05-15-2017 05:07 PM | |
1201 | 05-11-2017 04:19 PM | |
881 | 05-05-2017 12:29 AM |
04-28-2016
01:17 PM
Thanks Guys. Both answers helped. I had the wrong DNS name in Database URL config value on Hive service. Hive is NOT being used in this cluster, so I did not think to check that value. Thanks to both. WG
... View more
04-27-2016
11:22 PM
I have an issue where the screen for YARN Configs tab in ambari is not refreshing. (Get eternal spinning wheel but never refreshes). All other Config tabs work. All other tabs for YARN (Summary, Heatmaps) work. Upon closer inspection with the Developer Tools in chrome, I see an "Uncaught Error: Invalid Path" in the JS Console (see screenshot). Ideas? hcc.png
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache YARN
12-15-2015
11:05 PM
HCatalog does not seem to allow Constants as columns. Via Sqoop import: sqoop import \
--query "select col1 as col1, col2 as col2, '' as col3, col4 as col4 from input_table" \
--connect jdbc:db2://server.com:60000/DB1 \
--username ******* \
--password ******* \
--hcatalog-database my_db \
--hcatalog-table output_table \
--create-hcatalog-table \
--hcatalog-storage-stanza 'stored as orc tblproperties ("orc.compress"="SNAPPY")' \
--verbose \
--fetch-size 20000 \
Log: 15/12/14 03:28:57 INFO hcat.SqoopHCatUtilities: Creating HCatalog table my_db.output_table for import
15/12/14 03:28:57 INFO hcat.SqoopHCatUtilities: HCatalog Create table statement:
create table `my_db`.`output_table` (
`col1` varchar(387),
`col2` varchar(17),
`col3` varchar,
`col4` varchar(17))
stored as orc tblproperties ("orc.compress"="SNAPPY")
...
15/12/14 03:29:04 INFO hcat.SqoopHCatUtilities: FAILED: ParseException line 4:14 mismatched input ',' expecting ( near 'varchar' in primitive type specification
15/12/14 03:29:05 DEBUG util.ClassLoaderStack: Restoring classloader: sun.misc.Launcher$AppClassLoader@4aa0560e
15/12/14 03:29:05 ERROR tool.ImportTool: Encountered IOException running import job: java.io.IOException: HCat exited with status 64 Is this supported? Looks like: https://issues.apache.org/jira/browse/SQOOP-2596
... View more
Labels:
- Labels:
-
Apache HCatalog
-
Apache Sqoop
12-11-2015
01:37 PM
That error only says that the container crashed, but does not say why. You may be right about the yarn classpath. What is the output of: ls -al /usr/hdp/current/hadoop-* ??
... View more
12-10-2015
12:23 AM
1 Kudo
John, is this on a HWX Sandbox? How did you install hadoop? "${hdp.version}" is populated at runtime with the actual version installed. You should have the yarn directories already created: ls -al /usr/hdp/current/hadoop-* lrwxrwxrwx 1 root root 28 2015-10-27 12:30 /usr/hdp/current/hadoop-client -> /usr/hdp/2.3.2.0-2950/hadoop lrwxrwxrwx 1 root root 33 2015-10-27 12:30 /usr/hdp/current/hadoop-hdfs-client -> /usr/hdp/2.3.2.0-2950/hadoop-hdfs lrwxrwxrwx 1 root root 33 2015-10-27 12:30 /usr/hdp/current/hadoop-hdfs-datanode -> /usr/hdp/2.3.2.0-2950/hadoop-hdfs lrwxrwxrwx 1 root root 33 2015-10-27 12:30 /usr/hdp/current/hadoop-hdfs-journalnode -> /usr/hdp/2.3.2.0-2950/hadoop-hdfs lrwxrwxrwx 1 root root 33 2015-10-27 12:30 /usr/hdp/current/hadoop-hdfs-namenode -> /usr/hdp/2.3.2.0-2950/hadoop-hdfs lrwxrwxrwx 1 root root 33 2015-10-27 12:30 /usr/hdp/current/hadoop-hdfs-nfs3 -> /usr/hdp/2.3.2.0-2950/hadoop-hdfs lrwxrwxrwx 1 root root 33 2015-10-27 12:30 /usr/hdp/current/hadoop-hdfs-portmap -> /usr/hdp/2.3.2.0-2950/hadoop-hdfs lrwxrwxrwx 1 root root 33 2015-10-27 12:30 /usr/hdp/current/hadoop-hdfs-secondarynamenode -> /usr/hdp/2.3.2.0-2950/hadoop-hdfs lrwxrwxrwx 1 root root 35 2015-10-27 12:30 /usr/hdp/current/hadoop-httpfs -> /usr/hdp/2.3.2.0-2950/hadoop-httpfs lrwxrwxrwx 1 root root 38 2015-10-27 12:30 /usr/hdp/current/hadoop-mapreduce-client -> /usr/hdp/2.3.2.0-2950/hadoop-mapreduce lrwxrwxrwx 1 root root 38 2015-10-27 12:30 /usr/hdp/current/hadoop-mapreduce-historyserver -> /usr/hdp/2.3.2.0-2950/hadoop-mapreduce lrwxrwxrwx 1 root root 33 2015-10-27 12:30 /usr/hdp/current/hadoop-yarn-client -> /usr/hdp/2.3.2.0-2950/hadoop-yarn lrwxrwxrwx 1 root root 33 2015-10-27 12:30 /usr/hdp/current/hadoop-yarn-nodemanager -> /usr/hdp/2.3.2.0-2950/hadoop-yarn lrwxrwxrwx 1 root root 33 2015-10-27 12:30 /usr/hdp/current/hadoop-yarn-resourcemanager -> /usr/hdp/2.3.2.0-2950/hadoop-yarn lrwxrwxrwx 1 root root 33 2015-10-27 12:30 /usr/hdp/current/hadoop-yarn-timelineserver -> /usr/hdp/2.3.2.0-2950/hadoop-yarn I think that the directories are there, and the error is caused by something else. Can you get the yarn logs for application: 1449690108073_0001:
yarn logs -applicationId application_1449690108073_0001 > application.txt
see if you see an error in the logs?
... View more
11-16-2015
07:10 PM
Thank you, Deepesh. I will do that.
... View more
11-16-2015
02:24 PM
Thanks for the reply, Deepesh. This cluster was configured by ambari and the Tez settings are correct. Specifically, the page you cited talks about tez.lib.uris which is configured correctly: <property> <name>tez.lib.uris</name> <value>/hdp/apps/2.2.4.5-6/tez/tez.tar.gz</value> </property> All the other properties stated in that page also look correct to me. Again, this is an intermittent issue. If we are missing properties, is not because of misconfiguration but rather the properties are being lost somehow. Ideas?
... View more
11-14-2015
09:25 PM
Thanks for the reminder v2.2.4.2
... View more
11-14-2015
09:13 PM
Containers are being killed with error: Container: container_e81_1447433228005_0589_01_001207 on datanode1.company.com_45454
=======================================================================================
LogType:stderr
Log Upload Time:Fri Nov 13 13:14:59 -0500 2015
LogLength:78
Log Contents:
Error: Could not find or load main class org.apache.tez.runtime.task.TezChild
--
Container: container_e81_1447433228005_0589_01_003434 on datanode2.company.com_45454
=======================================================================================
LogType:stderr
Log Upload Time:Fri Nov 13 13:14:58 -0500 2015
LogLength:78
Log Contents:
Error: Could not find or load main class org.apache.tez.runtime.task.TezChild
--
Container: container_e81_1447433228005_0589_01_003219 on datanode2.company.com_45454
=======================================================================================
LogType:stderr
Log Upload Time:Fri Nov 13 13:14:58 -0500 2015
LogLength:78
Log Contents:
Error: Could not find or load main class org.apache.tez.runtime.task.TezChild Any ideas?
... View more
Labels:
- Labels:
-
Apache Hive
-
Apache Tez
-
Apache YARN
10-26-2015
04:42 PM
Customer is using following REST call to obtain a list of app ids: http://<rm http address:port>/ws/v1/cluster/apps Their question is how frequently should they make REST API call so that they do not miss any jobs submitted? -- Are there any recommendations on this? Thanks
... View more
Labels:
- Labels:
-
Apache YARN