Member since
09-25-2015
356
Posts
382
Kudos Received
62
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 3256 | 11-03-2017 09:16 PM | |
| 2502 | 10-17-2017 09:48 PM | |
| 5327 | 09-18-2017 08:33 PM | |
| 6084 | 08-04-2017 04:14 PM | |
| 4240 | 05-19-2017 06:53 AM |
12-22-2015
06:46 PM
1 Kudo
Make sure the jar file being referenced by the function has adequate permissions on hdfs. Is it the same user accessing this from hive cli and hiveserver2? Depending on hive.server2.enable.doAs setting your hiveserver2 user could be hive or the connecting user from JDBC.
... View more
12-19-2015
12:44 AM
3 Kudos
Perhaps what you want is a CTAS statement not a CTE. create table q as select CLAIMNUMBER,EXP_ID,EXP_COVERAGE,VEHICLE_STYLE from orc_claiminfo where VEHICLE_STYLE != "" AND EXP_COVERAGE = "Property Damage - Vehicle Damage" This way you can use table q later.
... View more
12-17-2015
07:37 PM
1 Kudo
Can you check if there is a mismatch of serde? Example you may have non-text data inside your external table location whereas your table is expecting text.
... View more
12-17-2015
06:22 AM
1 Kudo
Are you using Ambari 2.1 and HDP-2.2+? Ambari documentation has instructions to add new HiveServer2 to a node in the cluster.
... View more
12-15-2015
11:42 PM
Any local user that wants to start YARN application also needs a home directory (/user/<user>) on the HDFS as well. I am guessing Tez is enabled in your environment and part of initializing hive cli is bringing up a YARN application which might be failing.
... View more
12-15-2015
07:03 PM
1 Kudo
Looking at your attachments, it looks like you are trying to launch hive cli as root user. Make sure /user/root exists on HDFS and is owned by root user. If it's not so, login/sudo as hdfs user and run the following commands: hadoop fs -mkdir /user/root
hadoop fs -chmod -R 755 /user/root
hadoop fs -chown -R root:root /user/root Launch the hive cli after that.
... View more
12-14-2015
07:22 PM
2 Kudos
You can kill the jobs that you want to remove from the queue: yarn application -kill <applicationId>
... View more
12-11-2015
09:17 PM
Check if the services are up, looks like your Job History Server may be down.
... View more
12-11-2015
04:42 AM
6 Kudos
Try the following, lets assume your hive.tez.container.size=2048. set hive.tez.java.opts=-Xmx1640m (0.8 times hive.tez.container.size) set tez.runtime.io.sort.mb=820 (0.4 times hive.tez.container.size) set tez.runtime.unordered.output.buffer.size-mb=205 (0.1 times hive.tez.container.size)
... View more
12-11-2015
04:04 AM
Can you print the whole console output? The error here doesn't tell much.
... View more