Member since
01-31-2016
91
Posts
29
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2150 | 02-05-2016 04:47 PM |
02-05-2016
07:55 PM
haha alright 🙂
... View more
02-05-2016
07:52 PM
Hi Neeraj -- Thanks. Below listed is a modified version of the code that I guess would print out spout and bolt to stdout on execution. Now this jar file is within my root dir .. But I'm getting errors while executing it on the shell.. Can you suggest how I can overcome this? storm jar StormTest.jar ExclamationTopology Error: Could not find or load main class ExclamationTopology
... View more
02-05-2016
05:14 PM
gotcha.. makes sense:)
... View more
02-05-2016
04:47 PM
1 Kudo
I wrote a join query to display the results I wanted by combining values from both the tables 'x' and 'y' (Manipulated the tables with the columns I wanted to see in the final output for 'x') and then did an insert overwrite into table 'x'. While creating the table into which you would like to overwrite (in my case it was 'x'), just make sure to remove the line "TBLPROPERTIES ('transactional'='true');" so it doesn't conform to ACID properties, else you won't be able to overwrite!
... View more
02-05-2016
04:41 PM
1 Kudo
Oh ya. Didn't think about that option. Thanks!
... View more
02-05-2016
07:40 AM
@Artem Ervits -- I created the StormTest.jar file and it's saved in system within C:/.... Now how do I copy this onto the sandbox? I'm having difficulty pointing to this location from the hortonworks shell. [root@sandbox ~]# cp C:/Users/.IdeaIC15/config/StormTest.jar /usr/hdp cp: cannot stat `C:/Users/.IdeaIC15/config/StormTest.jar': No such file or directory How do I fix this issue? I would like to run this jar file from the shell. Your thoughts will be helpful.
... View more
02-05-2016
06:33 AM
1 Kudo
@Neeraj Sabharwal -- Thanks. But I found a way to overwrite my table with the query results that joined the tables and did the necessary manipulation I needed.
... View more
02-05-2016
04:39 AM
1 Kudo
I want to update the joining date column in table x which is currently messed up, by using the start date column in table y. The schema for both the tables are different however the common column is the id field. I'm unable to use update statement since I can't mention a sub query in the where clause. So I tried using the following and I'm unable to update the column : insert into table x (joining_date) select min(start_date) from table y group by id;
... View more
Labels:
- Labels:
-
Apache Hive
02-05-2016
01:23 AM
Totally appreciate your feedback. Just noticed this reply of urs. Thanks!
... View more
02-05-2016
01:18 AM
1 Kudo
Thanks Neeraj.
... View more