You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Ryan Rosario <uc...@gmail.com> on 2009/09/06 21:07:11 UTC

FAILED: Unknown exception Everywhere

Hi,

I am trying to learn Hive, but am having problems as I am getting a
lot of error messages that do not hint at how to resolve whatever
problem is occurring in my setup.

I can successfully create a table, but then I cannot load any data
into it, or even use the command "show tables." I get:

FAILED: Unknown exception: null

What is the likely problem?

These are my configurations:
hive-site.xml
<configuration>
    <property>
        <name>hive.metastore.local</name>
        <value>true</value>
        <description>this is local store</description>
    </property>
    <property>
        <name>hive.metastore.warehouse.dir</name>
        <value>/user/hive/warehouse</value>
        <description>default location for Hive tables</description>
    </property>
</configuration>

hadoop-site.xml
<configuration>
        <property>
                <name>hadoop.tmp.dir</name>
                <value>/tmp/hadoop-${user.name}</value>
        </property>
        <property>
                <name>fs.default.name</name>
                <value>hdfs://localhost:54310</value>
        </property>
        <property>
                <name>mapred.job.tracker</name>
                <value>hdfs://localhost:54311</value>
        </property>
        <property>
                <name>dfs.replication</name>
                <value>8</value>
        </property>
        <property>
                <name>mapred.child.java.opts</name>
                <value>-Xmx512m</value>
        </property>
</configuration>

Re: FAILED: Unknown exception Everywhere

Posted by Zheng Shao <zs...@gmail.com>.
Hi, please try to open /tmp/<username>/hive.log and find the last exception.

Zheng

On Sun, Sep 6, 2009 at 12:07 PM, Ryan Rosario <uc...@gmail.com> wrote:

> Hi,
>
> I am trying to learn Hive, but am having problems as I am getting a
> lot of error messages that do not hint at how to resolve whatever
> problem is occurring in my setup.
>
> I can successfully create a table, but then I cannot load any data
> into it, or even use the command "show tables." I get:
>
> FAILED: Unknown exception: null
>
> What is the likely problem?
>
> These are my configurations:
> hive-site.xml
> <configuration>
>    <property>
>        <name>hive.metastore.local</name>
>        <value>true</value>
>        <description>this is local store</description>
>    </property>
>    <property>
>        <name>hive.metastore.warehouse.dir</name>
>        <value>/user/hive/warehouse</value>
>        <description>default location for Hive tables</description>
>    </property>
> </configuration>
>
> hadoop-site.xml
> <configuration>
>        <property>
>                <name>hadoop.tmp.dir</name>
>                <value>/tmp/hadoop-${user.name}</value>
>        </property>
>        <property>
>                <name>fs.default.name</name>
>                <value>hdfs://localhost:54310</value>
>        </property>
>        <property>
>                <name>mapred.job.tracker</name>
>                <value>hdfs://localhost:54311</value>
>        </property>
>        <property>
>                <name>dfs.replication</name>
>                <value>8</value>
>        </property>
>        <property>
>                <name>mapred.child.java.opts</name>
>                <value>-Xmx512m</value>
>        </property>
> </configuration>
>



-- 
Yours,
Zheng