FAQ
I have put the file into hdfs.But while creating table in impala when i
give the same path i get error
ERROR: MetaException: hdfs://1localhost/user/try/ is not a directory or
unable to create one
How to solve this error?

Search Discussions

  • Lenni Kuff at Jun 13, 2013 at 3:25 pm
    Hi,
    What is the exact create table statement you are executing? If you want to
    create a table as the location '/user/try/' you would run:

    create table foo (i int) location '/user/try/'

    You can also use the full HDFS URI in the create table statement. Just
    prefix your table path with the value of "fs.default.name" in your
    core-site.xml config file:

    create table foo (i int) location 'hdfs://<namenode host>:<namenode
    port>/user/try/'

    Thanks,
    Lenni
    On Thu, Jun 13, 2013 at 6:38 AM, wrote:

    I have put the file into hdfs.But while creating table in impala when i
    give the same path i get error
    ERROR: MetaException: hdfs://1localhost/user/try/ is not a directory or
    unable to create one
    How to solve this error?

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupimpala-user @
categorieshadoop
postedJun 13, '13 at 1:38p
activeJun 13, '13 at 3:25p
posts2
users2
websitecloudera.com
irc#hadoop

2 users in discussion

Lenni Kuff: 1 post Nehasingh Ns12: 1 post

People

Translate

site design / logo © 2022 Grokbase