Member since
01-12-2016
123
Posts
12
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1502 | 12-12-2016 08:59 AM |
11-16-2016
01:13 PM
How do we get the complete list of columns that
exist in a column Family? Let us assume i have 5 columns for personal data column familyand 4 columns are present for professional data column family create 'emp', 'personal data', ’professional data’
... View more
Labels:
- Labels:
-
Apache Hadoop
-
Apache HBase
11-16-2016
09:51 AM
I tired below command but it is not changing to 777.It is changing to rw-rw-rw- hadoop fs -chmod 777 -R /vamsi/part-m-00003
... View more
11-15-2016
02:01 PM
ok.In that case 768(256*3)-30=738MB is used for other files or is it waste of memory?
... View more
11-15-2016
01:23 PM
If a file of size 10 MB is copied on to HDFS of block size 256 MB, then how much storage will be allocated to the file on HDFS ?
Let us assume replication factor is 3 so it will occupy (256 MB)*3 on HDFS.Please correct me if i am wrong?
... View more
Labels:
- Labels:
-
Apache Hadoop
-
Cloudera DataFlow (CDF)
11-14-2016
09:05 AM
part-m-00003 is file not directory.-R is to change all files in a directory.Please correct me if i am wrong? hadoop fs -chmod 777 -R /vamsi/part-m-00003
... View more
11-14-2016
08:36 AM
1 Kudo
a)I want to change the permissions of file:-part-m-00001 to 777.The owner for this file is naresh. The first two commands with sudo is showing command not found whereas hadoop fs -chmod 777 /vamsi/part-m-00003 command changes permissions to rw-rw-rw-but i want it to change to 777(rwxrwxrwx) naresh@ubuntu:~/Work1/hadoop-1.2.1/bin$ sudo -u root hadoop fs -chmod 777 /vamsi/part-m-00001
sudo: hadoop: command not found
naresh@ubuntu:~/Work1/hadoop-1.2.1/bin$ sudo -u naresh hadoop fs -chmod 777 /vamsi/part-m-00001
sudo: hadoop: command not found
naresh@ubuntu:~/Work1/hadoop-1.2.1/bin$ hadoop fs -chmod 777 /vamsi/part-m-00003
Warning: $HADOOP_HOME is deprecated.
... View more
Labels:
- Labels:
-
Apache Hadoop
11-10-2016
03:50 PM
Thanks for input but still having clarification on below point. A lateral view first applies the UDTF to each row of base table and then joins resulting output rows to the input rows to form a virtual table having the supplied table alias A lateral view first applies the UDTF to each row of base table means it will return 1 2 3 3 4 5 and then joins resulting output rows to the input rows to form a virtual table having the supplied table alias.? --Not clear How it will Join? How 1 will match with [1,2,3] source:- https://cwiki.apache.org/confluence/display/Hive/LanguageManual+LateralView
... View more
11-08-2016
12:27 PM
a)what is the source for the tables:-test_csv_serde_using_CSV_Serde_reader,test_csv_serde; which one i need to consider? b)Is it same for both the tables? Option 1 :
col1 col2 col3
----------------------
121 Hello World 4567
232 Text 5678
343 More Text 6789
Option 2 :
121|Hello World|4567|
232|Text|5678|
343|More Text|6789|
Option 3 :
121 'Hello World' 4567
232 Text 5678
343 'More Text' 6789
... View more
11-07-2016
03:58 PM
2 Kudos
a)I am trying to understand below query in link: https://cwiki.apache.org/confluence/display/Hive/LanguageManual+LateralView SELECT pageid, adid FROM pageAds LATERAL VIEW explode(adid_list) adTable AS adid; I know about explode but i did not understand the output of above query.Could anybody elaborate LATERAL view on this. In manual:- A lateral view first applies the UDTF to each row of base table and then joins resulting output rows to the input rows to form a virtual table having the supplied table alias. A lateral view first applies the UDTF to each row of base table means it will return 1 2 3 3 4 5 and then joins resulting output rows to the input rows to form a virtual table having the supplied table alias.? --Not clear
... View more
Labels:
- Labels:
-
Apache Hive