|
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?