You probably do not have the parent directories.
Try

$HADOOP_HOME/bin/hadoop fs -mkdir -p /user/hive/warehouse

(the -p is so that parent directories also get created)

Chris


On Fri, Jul 5, 2019 at 5:45 PM Valeriy Trofimov <valtroffut...@gmail.com>
wrote:

> hi All,
>
> I'm new to Hive. I am doing this tutorial:
>   https://cwiki.apache.org/confluence/display/Hive/GettingStarted
>
> And I've got an error at this step:
>
>   $ $HADOOP_HOME/bin/hadoop fs -mkdir       /user/hive/warehouse
>
> The error is:
>
> mkdir: `/user/hive/warehouse': No such file or directory
>
> Do you know how to solve this issue?
>
> Googling this error shows only 4 results all of which are in foreign
> languages:
> https://www.google.com/search?client=firefox-b-1-d&q=%22mkdir%3A+%60%2Fuser%2Fhive%2Fwarehouse%27%3A+No+such+file+or+directory%22
>
> Thanks,
> Val
>

Reply via email to