Member since
08-23-2016
261
Posts
201
Kudos Received
106
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1774 | 01-26-2018 07:28 PM | |
1408 | 11-29-2017 04:02 PM | |
35373 | 11-29-2017 03:56 PM | |
3541 | 11-28-2017 01:01 AM | |
969 | 11-22-2017 04:08 PM |
06-14-2017
11:04 PM
1 Kudo
Hi @Joshua Madan
Ssh to VM (root / hadoop)
then change root pw: ssh 127.0.0.1 -p 2222
Run ambari-admin-password-reset
Then run ambari-agent restart Login again using admin for the username on Ambari, and the newly created password you chose in step #2
... View more
06-14-2017
03:07 PM
1 Kudo
Hi @Dinesh Das You might have better luck passing in the actual TRUNCATE TABLE statement in your sqoop eval using the --query option instead of trying to --call the stored procedure (I think those are only supported in sqoop export, not sqoop eval, but I could be mistaken). As always, if you find this post useful please "accept" the answer.
... View more
06-13-2017
10:22 PM
1 Kudo
Hi @Sami Ahmad Try postgresql-server https://www.digitalocean.com/community/tutorials/how-to-install-and-use-postgresql-on-centos-7 As always, if you find this post useful please "accept" the answer.
... View more
06-13-2017
10:20 PM
1 Kudo
I'm able to download the .zip file from the link I had posted in my answer above. I've also attached it here in case you still having trouble. trafficlocs-data-for-simulator.zip
... View more
06-13-2017
07:14 PM
1 Kudo
Hi @BiswaRanaj Samal Looks like the link has been moved. You can still fetch the file here: https://github.com/hortonworks/data-tutorials/blob/master/tutorials/hdf/analyze-traffic-pattern-with-apache-nifi/assets/trafficLocs_data_for_simulator.zip As always, if you find this post useful please "accept" the answer.
... View more
06-09-2017
10:29 PM
2 Kudos
hi @Dinesh Das If you load your data as a String initially into a staging table, you can use the unix_timestamp() function to get easy date formatting: select from_unixtime(unix_timestamp(origDateColumn ,'yyyyMMddhhmmss'), 'yyyyMMdd') from StagingTable Alternatively, you can create a custom UDF to handle it for you. As always, if you find this post useful, please "Accept" the answer.
... View more
06-08-2017
02:58 AM
1 Kudo
Hi @Robin Dong If iptables is not installed, it should not cause any issues. There is some good information in this post as well: https://community.hortonworks.com/articles/14512/ambari-on-ec2.html As always, if you find this post useful, please "accept" the answer.
... View more
06-08-2017
02:53 AM
1 Kudo
Hi @Ali Mahinpoor See this post that might help: https://community.hortonworks.com/questions/47594/how-can-i-upload-ocr-files-to-hive.html As always if you find this post useful, please "Accept" the answer.
... View more
06-02-2017
03:55 PM
1 Kudo
Hi @Satish Sarapuri See this thread: https://community.hortonworks.com/questions/67916/reset-root-password-on-docker-sandbox.html If you find this post useful, please "accept" the answer.
... View more
06-01-2017
10:37 PM
1 Kudo
Hi @Dinesh Das
You can do a CREATE EXTERNAL table as normal, but add the storage qualifier to it. For example:
create external table countries_ext_seq
LIKE countries_seq
STORED AS SEQUENCEFILE
LOCATION '/tmp/seqTest' In the above example, I already have an existing hive table with the same columns and datatypes, so I use the lazy method by using the LIKE clause, but you can do the same with a full definition. I'm able to create this external table, point it to an existing sequence file stored in HDFS, and query with no problem. As always, if you find this post useful, please "Accept" the answer.
... View more