Hi,
The command to check if the file exists recursively is hadoop fs -lsr
Vinod
On Mon, Jun 2, 2014 at 12:40 AM, Amjad ALSHABANI
wrote:
> Hello Ashish,
>
> Unfortunately,I got this error when running the commande you provided:
>
> pns@app11:~$ hadoop fs -ls -lrt /user/hive/warehouse
> -ls: Il
hive -e "CREATE DATABASE my_stats LOCATION 'hdfs://:9000
*/user/hive/warehouse/*mystats.db'"
This command should be like as follows:
hive -e 'Create Database my_stats'
you do not need to specify the location because the default location of
database is the warehouse directory.
On Mon, Jun 2,
I think it is worth to mention that I tried doing this before on locally
deployed HDFS and it went well.
So my question now, what has gone wrong with creation database with given
location??
thanx for your rplies
Amjad
On Mon, Jun 2, 2014 at 9:50 AM, Siddharth Tiwari
wrote:
> Sorry Amzad, I
Sorry Amzad, I am afraid u can't
Sent from my iPhone
> On May 30, 2014, at 3:12 AM, "Amjad ALSHABANI" wrote:
>
> Hello Everybody,
>
> I know that this question may concern Hadoop list but i ve made this mistake
> when using Hive.
> I created new database giving the location on HDFS but i fo
Hello Ashish,
Unfortunately,I got this error when running the commande you provided:
pns@app11:~$ hadoop fs -ls -lrt /user/hive/warehouse
-ls: Illegal option -lrt
Usage: hadoop fs [generic options] -ls [-d] [-h] [-R] [ ...]
On Sun, Jun 1, 2014 at 8:17 PM, Ashish Garg
wrote:
> Try this comman
Try this command:
hadoop fs -ls -lrt /user/hive/warehouse/
Regards.
On Fri, May 30, 2014 at 6:10 AM, Amjad ALSHABANI
wrote:
> Hello Everybody,
>
> I know that this question may concern Hadoop list but i ve made this
> mistake when using Hive.
> I created new database giving the location on HD