hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ranjitha Chandrashekar <>
Subject Error Creating External Table
Date Fri, 05 Apr 2013 09:46:39 GMT

When i try creating a external table to a text file on HDFS i get the following error. Could
someone please let me know where I am going wrong.

 hive> create external table seq4 (item STRING) row format delimited fields terminated
by '' STORED as TEXTFILE location 'hdfs://<host>:54310/user/myfolder/items';
FAILED: Error in metadata: MetaException(message:Got exception: org.apache.hadoop.ipc.RemoteException Parent path is not a directory: /user/myfolder/items
        at org.apache.hadoop.hdfs.server.namenode.FSDirectory.mkdirs(
        at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirsInternal(
        at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirs(
        at org.apache.hadoop.hdfs.server.namenode.NameNode.mkdirs(
        at sun.reflect.GeneratedMethodAccessor109.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at org.apache.hadoop.ipc.RPC$
        at org.apache.hadoop.ipc.Server$Handler$
        at org.apache.hadoop.ipc.Server$Handler$
        at Method)
        at org.apache.hadoop.ipc.Server$
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask



The contents of this e-mail and any attachment(s) are confidential and intended for the named
recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted,
lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e
mail and its contents
(with or without referred errors) shall therefore not attach any liability on the originator
or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the author and may
not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying,
disclosure, modification,
distribution and / or publication of this message without the prior written consent of authorized
representative of
HCL is strictly prohibited. If you have received this email in error please delete it and
notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and other defects.


View raw message