Arup Malakar created HCATALOG-553:
-------------------------------------
Summary: Dynamic partitioning to viewfs location on non-default
name node fails
Key: HCATALOG-553
URL: https://issues.apache.org/jira/browse/HCATALOG-553
Project: HCatalog
Issue Type: Bug
Reporter: Arup Malakar
[1] Create partitioned table on non-default name node:
{code}
CREATE TABLE student (
name string
,age int
)
partitioned by (
gpa string
) stored as SequenceFile
location "viewfs:///database/table";
{code}
[2] Now, try using dynamic partitioning:
Call pig -useHCatalog with script:
{code}
A= load '/user/hadoopqa/hcatalog/tests/data/txt/studenttab10k.txt' using
PigStorage() as (name: chararray, age: int, gpa: chararray);
B = filter A by ((gpa > '0.00') AND (gpa <= '2.00'));
store B into 'default.student'
using org.apache.hcatalog.pig.HCatStorer
();
{code}
Here the location viewfs:///database/ translates to an HDFS location in the non
default namenode.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira