Member since
06-28-2016
55
Posts
3
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
972 | 07-22-2016 02:08 PM |
09-30-2020
02:54 AM
In my case, source file gets removed, when I load a single file with 'OVERWRITE' clause. files stay when I load without 'OVERWRITE' clause for a set of files with a pattern (say _*.txt)
... View more
09-23-2019
01:27 AM
@ravikumashi, if the table is altered by another user, the next Impala query likely to fail. Parquet stores the schema internally per column chunks, I assume changing this schema would mess up the addressing in the Parquet file, please see the file format details here. I can see two possible solutions, please note that I am unaware of the use-case: Option 1: Creating a new table with the new schema and re-creating the parquet files in Impala with INSERT INTO SELECT. At the end of this operation new parquet files with the new schema will be created in the new location. Option 2: With UNION the two schemata can be merged. For this the new/old data has to be split to two tables. Additionally, a VIEW could be created to hide this abstraction. Examples for the above two options, let me know if these are suitable for this use-case. # Test tables CREATE TABLE parquet_1 (id STRING, value DECIMAL(2,2)); INSERT INTO parquet_1 values ('1', 0.11); CREATE TABLE parquet_2 (id STRING, value DECIMAL(4,3)); INSERT INTO parquet_2 values ('2', 1.111); # Option 1 INSERT INTO TABLE parquet_2 SELECT * FROM parquet_1; # Option 2 SELECT * FROM parquet_1 UNION ALL SELECT * FROM parquet_2;
... View more
07-27-2016
06:51 AM
@Michael Young I tried even using lowercase p it couldn't connect me. But I just tried with ssh root@192.168.228.128 it works. Thank you
... View more
07-27-2016
07:13 AM
@Sindhu I tried using sqoop import command and it gives me the below error.
... View more
07-22-2016
02:08 PM
1 Kudo
@slachterman It is working after restarting atlas metadata server and hive server
... View more
07-20-2016
01:22 PM
@slachterman Thanks..ll do
... View more
07-12-2016
01:08 PM
1 Kudo
@Ravikumar Kumashi glad it works, please accept/upvote helpful answers to guide others.
... View more
07-05-2016
02:30 PM
Good to hear, thanks for the follow up information @Ravikumar Kumashi.
... View more
02-24-2017
03:49 AM
I tried again using the hortonworks sandbox's ip address, this time it says Connection refused (tried port 2222, failed with same error) scp C/RXIE/Learning/Github/spark-master/examples/src/main/python/streaming/kafka_wordcount.py root@192.168.128.119:/root
... View more