Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HDFS >> mail # user >> no namenode


Hi Mohamed,

Thanks for your answer. I have setup it before into something like this :

JAVA_HOME=/usr/lib/jvm/java-6-sun

I don't know if that's should be the same or will it gave a different
result. I'll try it first.

Thanks.

On Wed, Jan 18, 2012 at 3:53 PM, Mohamed Elsayed <
[EMAIL PROTECTED]> wrote:

>  Hi Martinus,
>
> As I remember, I started again from scratch and erased everything related
> to hadoop in my machine. In my first run, there was an error message
> (related to java) displayed after executing bin/hadoop namenode -format.
> This message didn't appear in my second run. So I believe your problem is
> in this point. Keep you eyes on what is happening after executing this
> command. FYI, you must set JAVA_HOME in conf/hadoop-env.sh by doing the
> following:
>
> file `which java`
> file /etc/alternatives/java
> JAVA_HOME=/usr/lib/jvm/java-6-openjdk/jre
>
> If you still can't run the example, try to set HADOOP_CLASSPATH in
> conf/hadoop-env.sh to the example's path e.g.
> HADOOP_CLASSPATH=../hadoop-0.20.203.0/hadoop-examples-0.20.203.0.jar. But
> this variable is not necessary to fill.
>
> If there is any error messages appeared after executing any command, try
> to fix or write them here. I will try to help If I can.
>
> Mohamed Elsayed
> Bibliotheca Alexandrina
>
>
> On 01/18/2012 04:28 AM, Martinus Martinus wrote:
>
> Hi Mohamed,
>
> Did you found out how to handle this thing? Because when I run the
> hadoop-0.20.2-example.jar wordcount input output it just run, but it didn't
> gave any log message and it won't stop running.
>
> Thanks.
>
> On Tue, Jan 17, 2012 at 7:29 PM, Mohamed Elsayed <
> [EMAIL PROTECTED]> wrote:
>
>>  Your case happened to me in the past. In first try to start again from
>> scratch and be sure that everything is going well (working well e.g.
>> namenode is working and there is no java error) specifically after
>> executing bin/hadoop namenode -format. If you faced any hassles, don't
>> hesitate to state them here.
>>
>> Mohamed Elsayed
>> Bibliotheca Alexandrina
>>
>>
>> On 01/16/2012 04:52 AM, Martinus Martinus wrote:
>>
>> Hi Harsh,
>>
>> I just reinstalled my master node again and it's worked right now. But
>> when I tried to run the example using command bin/hadoop jar
>> hadoop-0.20.2-examples.jar wordcount input output, it just waiting and
>> didn't gave me anything and didn't stop either.
>>
>> Thanks.
>>
>> On Fri, Jan 13, 2012 at 8:22 PM, Harsh J <[EMAIL PROTECTED]> wrote:
>>
>>> What does the NameNode log in $HADOOP_HOME/logs/hadoop-*namenode*.log
>>> carry?
>>>
>>> On 13-Jan-2012, at 4:05 PM, Martinus Martinus wrote:
>>>
>>> > Hi,
>>> >
>>> > I start-all.sh my hadoop master node, but I can't find any namenode on
>>> it. Would anyone be so kindly to tell me how to fix this problem?
>>> >
>>> > Thanks.
>>>
>>>
>>
>