You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by khalid yatim <ya...@gmail.com> on 2015/07/13 19:26:06 UTC

Incorrect configuration issue

Hello,

I'm expressing some difficulties making a single node hadoop (2.6.0)
install working.

My confs files seem to be OK. but I'm getting this errors

Incorrect configuration: namenode address dfs.namenode.servicerpc-address
or dfs.namenode.rpc-address is not configured.

In hadoop-<user>-namenode-<machine>.log, I'm getting
Invalid URI for NameNode address (check fs.defaultFS): file:/// has no
authority.


how can I configure logs to get more explicit information about what's
going wrong?


I'm new here!

Thank you.

-- 
YATIM Khalid
06 76 19 87 95

INGENIEUR ENSIASTE
Promotion 2007

Re: Incorrect configuration issue

Posted by khalid yatim <ya...@gmail.com>.
I found the issue, I just had to set HADOOP_PREFIX property in my env. Now
it works fine!

Thank you.

2015-07-14 7:45 GMT+01:00 Brahma Reddy Battula <
brahmareddy.battula@huawei.com>:

>  you need to configure resolved host name (hdfs://*kyahadmaster*:54310)
>
> configure like following and start cluster.
>
> <configuration>
>     <property>
>         <name>fs.defaultFS</name>
>         <value>hdfs://localhost:9000</value>
>     </property>
> </configuration>
>
>
>
> *For more details, check the following link*
>
>
> https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-common/SingleCluster.html
>
>
>
>
>
>  Thanks & Regards
>
>  Brahma Reddy Battula
>
>
>
>
>    ------------------------------
> *From:* khalid yatim [yatimkhalid@gmail.com]
> *Sent:* Monday, July 13, 2015 11:16 PM
> *To:* user@hadoop.apache.org
> *Subject:* Re: Incorrect configuration issue
>
>
> Hello,
>
>  I'm expressing some difficulties making a single node hadoop (2.6.0)
> install working.
>
>  My confs files seem to be OK. but I'm getting this errors
>
>  Incorrect configuration: namenode address
> dfs.namenode.servicerpc-address or dfs.namenode.rpc-address is not
> configured.
>
>  In hadoop-<user>-namenode-<machine>.log, I'm getting
> Invalid URI for NameNode address (check fs.defaultFS): file:/// has no
> authority.
>
>  Here is the content of my core-site.xml file
>
> <?xml version="1.0" encoding="UTF-8"?>
> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
> <!--
>   Licensed under the Apache License, Version 2.0 (the "License");
>   you may not use this file except in compliance with the License.
>   You may obtain a copy of the License at
>
>     http://www.apache.org/licenses/LICENSE-2.0
>
>   Unless required by applicable law or agreed to in writing, software
>   distributed under the License is distributed on an "AS IS" BASIS,
>   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>   See the License for the specific language governing permissions and
>   limitations under the License. See accompanying LICENSE file.
> -->
>
> <!-- Put site-specific property overrides in this file. -->
>
> <configuration>
>     <property>
>         <name>hadoop.tmp.dir</name>
>         <value>/app/hadoop/app</value>
>         <description>Temporary Directory.</description>
>     </property>
>     <property>
>         <name>fs.default.name</name>
>         <value>hdfs://kyahadmaster:54310</value>
>         <description>Use HDFS as file storage engine</description>
>     </property>
> </configuration>
>
>
> 2015-07-13 17:26 GMT+00:00 khalid yatim <ya...@gmail.com>:
>
>> Hello,
>>
>>  I'm expressing some difficulties making a single node hadoop (2.6.0)
>> install working.
>>
>>  My confs files seem to be OK. but I'm getting this errors
>>
>>  Incorrect configuration: namenode address
>> dfs.namenode.servicerpc-address or dfs.namenode.rpc-address is not
>> configured.
>>
>>  In hadoop-<user>-namenode-<machine>.log, I'm getting
>> Invalid URI for NameNode address (check fs.defaultFS): file:/// has no
>> authority.
>>
>>
>>  how can I configure logs to get more explicit information about what's
>> going wrong?
>>
>>
>>  I'm new here!
>>
>>  Thank you.
>>
>>  --
>> YATIM Khalid
>> 06 76 19 87 95
>>
>> INGENIEUR ENSIASTE
>> Promotion 2007
>>
>
>
>
> --
> YATIM Khalid
> 06 76 19 87 95
>
> INGENIEUR ENSIASTE
> Promotion 2007
>



-- 
YATIM Khalid
06 76 19 87 95

INGENIEUR ENSIASTE
Promotion 2007

Re: Incorrect configuration issue

Posted by khalid yatim <ya...@gmail.com>.
I found the issue, I just had to set HADOOP_PREFIX property in my env. Now
it works fine!

Thank you.

2015-07-14 7:45 GMT+01:00 Brahma Reddy Battula <
brahmareddy.battula@huawei.com>:

>  you need to configure resolved host name (hdfs://*kyahadmaster*:54310)
>
> configure like following and start cluster.
>
> <configuration>
>     <property>
>         <name>fs.defaultFS</name>
>         <value>hdfs://localhost:9000</value>
>     </property>
> </configuration>
>
>
>
> *For more details, check the following link*
>
>
> https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-common/SingleCluster.html
>
>
>
>
>
>  Thanks & Regards
>
>  Brahma Reddy Battula
>
>
>
>
>    ------------------------------
> *From:* khalid yatim [yatimkhalid@gmail.com]
> *Sent:* Monday, July 13, 2015 11:16 PM
> *To:* user@hadoop.apache.org
> *Subject:* Re: Incorrect configuration issue
>
>
> Hello,
>
>  I'm expressing some difficulties making a single node hadoop (2.6.0)
> install working.
>
>  My confs files seem to be OK. but I'm getting this errors
>
>  Incorrect configuration: namenode address
> dfs.namenode.servicerpc-address or dfs.namenode.rpc-address is not
> configured.
>
>  In hadoop-<user>-namenode-<machine>.log, I'm getting
> Invalid URI for NameNode address (check fs.defaultFS): file:/// has no
> authority.
>
>  Here is the content of my core-site.xml file
>
> <?xml version="1.0" encoding="UTF-8"?>
> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
> <!--
>   Licensed under the Apache License, Version 2.0 (the "License");
>   you may not use this file except in compliance with the License.
>   You may obtain a copy of the License at
>
>     http://www.apache.org/licenses/LICENSE-2.0
>
>   Unless required by applicable law or agreed to in writing, software
>   distributed under the License is distributed on an "AS IS" BASIS,
>   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>   See the License for the specific language governing permissions and
>   limitations under the License. See accompanying LICENSE file.
> -->
>
> <!-- Put site-specific property overrides in this file. -->
>
> <configuration>
>     <property>
>         <name>hadoop.tmp.dir</name>
>         <value>/app/hadoop/app</value>
>         <description>Temporary Directory.</description>
>     </property>
>     <property>
>         <name>fs.default.name</name>
>         <value>hdfs://kyahadmaster:54310</value>
>         <description>Use HDFS as file storage engine</description>
>     </property>
> </configuration>
>
>
> 2015-07-13 17:26 GMT+00:00 khalid yatim <ya...@gmail.com>:
>
>> Hello,
>>
>>  I'm expressing some difficulties making a single node hadoop (2.6.0)
>> install working.
>>
>>  My confs files seem to be OK. but I'm getting this errors
>>
>>  Incorrect configuration: namenode address
>> dfs.namenode.servicerpc-address or dfs.namenode.rpc-address is not
>> configured.
>>
>>  In hadoop-<user>-namenode-<machine>.log, I'm getting
>> Invalid URI for NameNode address (check fs.defaultFS): file:/// has no
>> authority.
>>
>>
>>  how can I configure logs to get more explicit information about what's
>> going wrong?
>>
>>
>>  I'm new here!
>>
>>  Thank you.
>>
>>  --
>> YATIM Khalid
>> 06 76 19 87 95
>>
>> INGENIEUR ENSIASTE
>> Promotion 2007
>>
>
>
>
> --
> YATIM Khalid
> 06 76 19 87 95
>
> INGENIEUR ENSIASTE
> Promotion 2007
>



-- 
YATIM Khalid
06 76 19 87 95

INGENIEUR ENSIASTE
Promotion 2007

Re: Incorrect configuration issue

Posted by khalid yatim <ya...@gmail.com>.
I found the issue, I just had to set HADOOP_PREFIX property in my env. Now
it works fine!

Thank you.

2015-07-14 7:45 GMT+01:00 Brahma Reddy Battula <
brahmareddy.battula@huawei.com>:

>  you need to configure resolved host name (hdfs://*kyahadmaster*:54310)
>
> configure like following and start cluster.
>
> <configuration>
>     <property>
>         <name>fs.defaultFS</name>
>         <value>hdfs://localhost:9000</value>
>     </property>
> </configuration>
>
>
>
> *For more details, check the following link*
>
>
> https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-common/SingleCluster.html
>
>
>
>
>
>  Thanks & Regards
>
>  Brahma Reddy Battula
>
>
>
>
>    ------------------------------
> *From:* khalid yatim [yatimkhalid@gmail.com]
> *Sent:* Monday, July 13, 2015 11:16 PM
> *To:* user@hadoop.apache.org
> *Subject:* Re: Incorrect configuration issue
>
>
> Hello,
>
>  I'm expressing some difficulties making a single node hadoop (2.6.0)
> install working.
>
>  My confs files seem to be OK. but I'm getting this errors
>
>  Incorrect configuration: namenode address
> dfs.namenode.servicerpc-address or dfs.namenode.rpc-address is not
> configured.
>
>  In hadoop-<user>-namenode-<machine>.log, I'm getting
> Invalid URI for NameNode address (check fs.defaultFS): file:/// has no
> authority.
>
>  Here is the content of my core-site.xml file
>
> <?xml version="1.0" encoding="UTF-8"?>
> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
> <!--
>   Licensed under the Apache License, Version 2.0 (the "License");
>   you may not use this file except in compliance with the License.
>   You may obtain a copy of the License at
>
>     http://www.apache.org/licenses/LICENSE-2.0
>
>   Unless required by applicable law or agreed to in writing, software
>   distributed under the License is distributed on an "AS IS" BASIS,
>   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>   See the License for the specific language governing permissions and
>   limitations under the License. See accompanying LICENSE file.
> -->
>
> <!-- Put site-specific property overrides in this file. -->
>
> <configuration>
>     <property>
>         <name>hadoop.tmp.dir</name>
>         <value>/app/hadoop/app</value>
>         <description>Temporary Directory.</description>
>     </property>
>     <property>
>         <name>fs.default.name</name>
>         <value>hdfs://kyahadmaster:54310</value>
>         <description>Use HDFS as file storage engine</description>
>     </property>
> </configuration>
>
>
> 2015-07-13 17:26 GMT+00:00 khalid yatim <ya...@gmail.com>:
>
>> Hello,
>>
>>  I'm expressing some difficulties making a single node hadoop (2.6.0)
>> install working.
>>
>>  My confs files seem to be OK. but I'm getting this errors
>>
>>  Incorrect configuration: namenode address
>> dfs.namenode.servicerpc-address or dfs.namenode.rpc-address is not
>> configured.
>>
>>  In hadoop-<user>-namenode-<machine>.log, I'm getting
>> Invalid URI for NameNode address (check fs.defaultFS): file:/// has no
>> authority.
>>
>>
>>  how can I configure logs to get more explicit information about what's
>> going wrong?
>>
>>
>>  I'm new here!
>>
>>  Thank you.
>>
>>  --
>> YATIM Khalid
>> 06 76 19 87 95
>>
>> INGENIEUR ENSIASTE
>> Promotion 2007
>>
>
>
>
> --
> YATIM Khalid
> 06 76 19 87 95
>
> INGENIEUR ENSIASTE
> Promotion 2007
>



-- 
YATIM Khalid
06 76 19 87 95

INGENIEUR ENSIASTE
Promotion 2007

Re: Incorrect configuration issue

Posted by khalid yatim <ya...@gmail.com>.
I found the issue, I just had to set HADOOP_PREFIX property in my env. Now
it works fine!

Thank you.

2015-07-14 7:45 GMT+01:00 Brahma Reddy Battula <
brahmareddy.battula@huawei.com>:

>  you need to configure resolved host name (hdfs://*kyahadmaster*:54310)
>
> configure like following and start cluster.
>
> <configuration>
>     <property>
>         <name>fs.defaultFS</name>
>         <value>hdfs://localhost:9000</value>
>     </property>
> </configuration>
>
>
>
> *For more details, check the following link*
>
>
> https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-common/SingleCluster.html
>
>
>
>
>
>  Thanks & Regards
>
>  Brahma Reddy Battula
>
>
>
>
>    ------------------------------
> *From:* khalid yatim [yatimkhalid@gmail.com]
> *Sent:* Monday, July 13, 2015 11:16 PM
> *To:* user@hadoop.apache.org
> *Subject:* Re: Incorrect configuration issue
>
>
> Hello,
>
>  I'm expressing some difficulties making a single node hadoop (2.6.0)
> install working.
>
>  My confs files seem to be OK. but I'm getting this errors
>
>  Incorrect configuration: namenode address
> dfs.namenode.servicerpc-address or dfs.namenode.rpc-address is not
> configured.
>
>  In hadoop-<user>-namenode-<machine>.log, I'm getting
> Invalid URI for NameNode address (check fs.defaultFS): file:/// has no
> authority.
>
>  Here is the content of my core-site.xml file
>
> <?xml version="1.0" encoding="UTF-8"?>
> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
> <!--
>   Licensed under the Apache License, Version 2.0 (the "License");
>   you may not use this file except in compliance with the License.
>   You may obtain a copy of the License at
>
>     http://www.apache.org/licenses/LICENSE-2.0
>
>   Unless required by applicable law or agreed to in writing, software
>   distributed under the License is distributed on an "AS IS" BASIS,
>   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>   See the License for the specific language governing permissions and
>   limitations under the License. See accompanying LICENSE file.
> -->
>
> <!-- Put site-specific property overrides in this file. -->
>
> <configuration>
>     <property>
>         <name>hadoop.tmp.dir</name>
>         <value>/app/hadoop/app</value>
>         <description>Temporary Directory.</description>
>     </property>
>     <property>
>         <name>fs.default.name</name>
>         <value>hdfs://kyahadmaster:54310</value>
>         <description>Use HDFS as file storage engine</description>
>     </property>
> </configuration>
>
>
> 2015-07-13 17:26 GMT+00:00 khalid yatim <ya...@gmail.com>:
>
>> Hello,
>>
>>  I'm expressing some difficulties making a single node hadoop (2.6.0)
>> install working.
>>
>>  My confs files seem to be OK. but I'm getting this errors
>>
>>  Incorrect configuration: namenode address
>> dfs.namenode.servicerpc-address or dfs.namenode.rpc-address is not
>> configured.
>>
>>  In hadoop-<user>-namenode-<machine>.log, I'm getting
>> Invalid URI for NameNode address (check fs.defaultFS): file:/// has no
>> authority.
>>
>>
>>  how can I configure logs to get more explicit information about what's
>> going wrong?
>>
>>
>>  I'm new here!
>>
>>  Thank you.
>>
>>  --
>> YATIM Khalid
>> 06 76 19 87 95
>>
>> INGENIEUR ENSIASTE
>> Promotion 2007
>>
>
>
>
> --
> YATIM Khalid
> 06 76 19 87 95
>
> INGENIEUR ENSIASTE
> Promotion 2007
>



-- 
YATIM Khalid
06 76 19 87 95

INGENIEUR ENSIASTE
Promotion 2007

RE: Incorrect configuration issue

Posted by Brahma Reddy Battula <br...@huawei.com>.
you need to configure resolved host name (hdfs://kyahadmaster:54310)

configure like following and start cluster.


<configuration>
    <property>
        <name>fs.defaultFS</name>
        <value>hdfs://localhost:9000</value>
    </property>
</configuration>


For more details, check the following link

https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-common/SingleCluster.html






Thanks & Regards

 Brahma Reddy Battula




________________________________
From: khalid yatim [yatimkhalid@gmail.com]
Sent: Monday, July 13, 2015 11:16 PM
To: user@hadoop.apache.org
Subject: Re: Incorrect configuration issue


Hello,

I'm expressing some difficulties making a single node hadoop (2.6.0) install working.

My confs files seem to be OK. but I'm getting this errors

Incorrect configuration: namenode address dfs.namenode.servicerpc-address or dfs.namenode.rpc-address is not configured.

In hadoop-<user>-namenode-<machine>.log, I'm getting
Invalid URI for NameNode address (check fs.defaultFS): file:/// has no authority.

Here is the content of my core-site.xml file

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License. See accompanying LICENSE file.
-->

<!-- Put site-specific property overrides in this file. -->

<configuration>
    <property>
        <name>hadoop.tmp.dir</name>
        <value>/app/hadoop/app</value>
        <description>Temporary Directory.</description>
    </property>
    <property>
        <name>fs.default.name<http://fs.default.name></name>
        <value>hdfs://kyahadmaster:54310</value>
        <description>Use HDFS as file storage engine</description>
    </property>
</configuration>


2015-07-13 17:26 GMT+00:00 khalid yatim <ya...@gmail.com>>:
Hello,

I'm expressing some difficulties making a single node hadoop (2.6.0) install working.

My confs files seem to be OK. but I'm getting this errors

Incorrect configuration: namenode address dfs.namenode.servicerpc-address or dfs.namenode.rpc-address is not configured.

In hadoop-<user>-namenode-<machine>.log, I'm getting
Invalid URI for NameNode address (check fs.defaultFS): file:/// has no authority.


how can I configure logs to get more explicit information about what's going wrong?


I'm new here!

Thank you.

--
YATIM Khalid
06 76 19 87 95

INGENIEUR ENSIASTE
Promotion 2007



--
YATIM Khalid
06 76 19 87 95

INGENIEUR ENSIASTE
Promotion 2007

RE: Incorrect configuration issue

Posted by Brahma Reddy Battula <br...@huawei.com>.
you need to configure resolved host name (hdfs://kyahadmaster:54310)

configure like following and start cluster.


<configuration>
    <property>
        <name>fs.defaultFS</name>
        <value>hdfs://localhost:9000</value>
    </property>
</configuration>


For more details, check the following link

https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-common/SingleCluster.html






Thanks & Regards

 Brahma Reddy Battula




________________________________
From: khalid yatim [yatimkhalid@gmail.com]
Sent: Monday, July 13, 2015 11:16 PM
To: user@hadoop.apache.org
Subject: Re: Incorrect configuration issue


Hello,

I'm expressing some difficulties making a single node hadoop (2.6.0) install working.

My confs files seem to be OK. but I'm getting this errors

Incorrect configuration: namenode address dfs.namenode.servicerpc-address or dfs.namenode.rpc-address is not configured.

In hadoop-<user>-namenode-<machine>.log, I'm getting
Invalid URI for NameNode address (check fs.defaultFS): file:/// has no authority.

Here is the content of my core-site.xml file

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License. See accompanying LICENSE file.
-->

<!-- Put site-specific property overrides in this file. -->

<configuration>
    <property>
        <name>hadoop.tmp.dir</name>
        <value>/app/hadoop/app</value>
        <description>Temporary Directory.</description>
    </property>
    <property>
        <name>fs.default.name<http://fs.default.name></name>
        <value>hdfs://kyahadmaster:54310</value>
        <description>Use HDFS as file storage engine</description>
    </property>
</configuration>


2015-07-13 17:26 GMT+00:00 khalid yatim <ya...@gmail.com>>:
Hello,

I'm expressing some difficulties making a single node hadoop (2.6.0) install working.

My confs files seem to be OK. but I'm getting this errors

Incorrect configuration: namenode address dfs.namenode.servicerpc-address or dfs.namenode.rpc-address is not configured.

In hadoop-<user>-namenode-<machine>.log, I'm getting
Invalid URI for NameNode address (check fs.defaultFS): file:/// has no authority.


how can I configure logs to get more explicit information about what's going wrong?


I'm new here!

Thank you.

--
YATIM Khalid
06 76 19 87 95

INGENIEUR ENSIASTE
Promotion 2007



--
YATIM Khalid
06 76 19 87 95

INGENIEUR ENSIASTE
Promotion 2007

RE: Incorrect configuration issue

Posted by Brahma Reddy Battula <br...@huawei.com>.
you need to configure resolved host name (hdfs://kyahadmaster:54310)

configure like following and start cluster.


<configuration>
    <property>
        <name>fs.defaultFS</name>
        <value>hdfs://localhost:9000</value>
    </property>
</configuration>


For more details, check the following link

https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-common/SingleCluster.html






Thanks & Regards

 Brahma Reddy Battula




________________________________
From: khalid yatim [yatimkhalid@gmail.com]
Sent: Monday, July 13, 2015 11:16 PM
To: user@hadoop.apache.org
Subject: Re: Incorrect configuration issue


Hello,

I'm expressing some difficulties making a single node hadoop (2.6.0) install working.

My confs files seem to be OK. but I'm getting this errors

Incorrect configuration: namenode address dfs.namenode.servicerpc-address or dfs.namenode.rpc-address is not configured.

In hadoop-<user>-namenode-<machine>.log, I'm getting
Invalid URI for NameNode address (check fs.defaultFS): file:/// has no authority.

Here is the content of my core-site.xml file

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License. See accompanying LICENSE file.
-->

<!-- Put site-specific property overrides in this file. -->

<configuration>
    <property>
        <name>hadoop.tmp.dir</name>
        <value>/app/hadoop/app</value>
        <description>Temporary Directory.</description>
    </property>
    <property>
        <name>fs.default.name<http://fs.default.name></name>
        <value>hdfs://kyahadmaster:54310</value>
        <description>Use HDFS as file storage engine</description>
    </property>
</configuration>


2015-07-13 17:26 GMT+00:00 khalid yatim <ya...@gmail.com>>:
Hello,

I'm expressing some difficulties making a single node hadoop (2.6.0) install working.

My confs files seem to be OK. but I'm getting this errors

Incorrect configuration: namenode address dfs.namenode.servicerpc-address or dfs.namenode.rpc-address is not configured.

In hadoop-<user>-namenode-<machine>.log, I'm getting
Invalid URI for NameNode address (check fs.defaultFS): file:/// has no authority.


how can I configure logs to get more explicit information about what's going wrong?


I'm new here!

Thank you.

--
YATIM Khalid
06 76 19 87 95

INGENIEUR ENSIASTE
Promotion 2007



--
YATIM Khalid
06 76 19 87 95

INGENIEUR ENSIASTE
Promotion 2007

RE: Incorrect configuration issue

Posted by Brahma Reddy Battula <br...@huawei.com>.
you need to configure resolved host name (hdfs://kyahadmaster:54310)

configure like following and start cluster.


<configuration>
    <property>
        <name>fs.defaultFS</name>
        <value>hdfs://localhost:9000</value>
    </property>
</configuration>


For more details, check the following link

https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-common/SingleCluster.html






Thanks & Regards

 Brahma Reddy Battula




________________________________
From: khalid yatim [yatimkhalid@gmail.com]
Sent: Monday, July 13, 2015 11:16 PM
To: user@hadoop.apache.org
Subject: Re: Incorrect configuration issue


Hello,

I'm expressing some difficulties making a single node hadoop (2.6.0) install working.

My confs files seem to be OK. but I'm getting this errors

Incorrect configuration: namenode address dfs.namenode.servicerpc-address or dfs.namenode.rpc-address is not configured.

In hadoop-<user>-namenode-<machine>.log, I'm getting
Invalid URI for NameNode address (check fs.defaultFS): file:/// has no authority.

Here is the content of my core-site.xml file

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License. See accompanying LICENSE file.
-->

<!-- Put site-specific property overrides in this file. -->

<configuration>
    <property>
        <name>hadoop.tmp.dir</name>
        <value>/app/hadoop/app</value>
        <description>Temporary Directory.</description>
    </property>
    <property>
        <name>fs.default.name<http://fs.default.name></name>
        <value>hdfs://kyahadmaster:54310</value>
        <description>Use HDFS as file storage engine</description>
    </property>
</configuration>


2015-07-13 17:26 GMT+00:00 khalid yatim <ya...@gmail.com>>:
Hello,

I'm expressing some difficulties making a single node hadoop (2.6.0) install working.

My confs files seem to be OK. but I'm getting this errors

Incorrect configuration: namenode address dfs.namenode.servicerpc-address or dfs.namenode.rpc-address is not configured.

In hadoop-<user>-namenode-<machine>.log, I'm getting
Invalid URI for NameNode address (check fs.defaultFS): file:/// has no authority.


how can I configure logs to get more explicit information about what's going wrong?


I'm new here!

Thank you.

--
YATIM Khalid
06 76 19 87 95

INGENIEUR ENSIASTE
Promotion 2007



--
YATIM Khalid
06 76 19 87 95

INGENIEUR ENSIASTE
Promotion 2007

Re: Incorrect configuration issue

Posted by khalid yatim <ya...@gmail.com>.
Hello,

I'm expressing some difficulties making a single node hadoop (2.6.0)
install working.

My confs files seem to be OK. but I'm getting this errors

Incorrect configuration: namenode address dfs.namenode.servicerpc-address
or dfs.namenode.rpc-address is not configured.

In hadoop-<user>-namenode-<machine>.log, I'm getting
Invalid URI for NameNode address (check fs.defaultFS): file:/// has no
authority.

Here is the content of my core-site.xml file

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License. See accompanying LICENSE file.
-->

<!-- Put site-specific property overrides in this file. -->

<configuration>
    <property>
        <name>hadoop.tmp.dir</name>
        <value>/app/hadoop/app</value>
        <description>Temporary Directory.</description>
    </property>
    <property>
        <name>fs.default.name</name>
        <value>hdfs://kyahadmaster:54310</value>
        <description>Use HDFS as file storage engine</description>
    </property>
</configuration>


2015-07-13 17:26 GMT+00:00 khalid yatim <ya...@gmail.com>:

> Hello,
>
> I'm expressing some difficulties making a single node hadoop (2.6.0)
> install working.
>
> My confs files seem to be OK. but I'm getting this errors
>
> Incorrect configuration: namenode address dfs.namenode.servicerpc-address
> or dfs.namenode.rpc-address is not configured.
>
> In hadoop-<user>-namenode-<machine>.log, I'm getting
> Invalid URI for NameNode address (check fs.defaultFS): file:/// has no
> authority.
>
>
> how can I configure logs to get more explicit information about what's
> going wrong?
>
>
> I'm new here!
>
> Thank you.
>
> --
> YATIM Khalid
> 06 76 19 87 95
>
> INGENIEUR ENSIASTE
> Promotion 2007
>



-- 
YATIM Khalid
06 76 19 87 95

INGENIEUR ENSIASTE
Promotion 2007

Re: Incorrect configuration issue

Posted by khalid yatim <ya...@gmail.com>.
Hello,

I'm expressing some difficulties making a single node hadoop (2.6.0)
install working.

My confs files seem to be OK. but I'm getting this errors

Incorrect configuration: namenode address dfs.namenode.servicerpc-address
or dfs.namenode.rpc-address is not configured.

In hadoop-<user>-namenode-<machine>.log, I'm getting
Invalid URI for NameNode address (check fs.defaultFS): file:/// has no
authority.

Here is the content of my core-site.xml file

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License. See accompanying LICENSE file.
-->

<!-- Put site-specific property overrides in this file. -->

<configuration>
    <property>
        <name>hadoop.tmp.dir</name>
        <value>/app/hadoop/app</value>
        <description>Temporary Directory.</description>
    </property>
    <property>
        <name>fs.default.name</name>
        <value>hdfs://kyahadmaster:54310</value>
        <description>Use HDFS as file storage engine</description>
    </property>
</configuration>


2015-07-13 17:26 GMT+00:00 khalid yatim <ya...@gmail.com>:

> Hello,
>
> I'm expressing some difficulties making a single node hadoop (2.6.0)
> install working.
>
> My confs files seem to be OK. but I'm getting this errors
>
> Incorrect configuration: namenode address dfs.namenode.servicerpc-address
> or dfs.namenode.rpc-address is not configured.
>
> In hadoop-<user>-namenode-<machine>.log, I'm getting
> Invalid URI for NameNode address (check fs.defaultFS): file:/// has no
> authority.
>
>
> how can I configure logs to get more explicit information about what's
> going wrong?
>
>
> I'm new here!
>
> Thank you.
>
> --
> YATIM Khalid
> 06 76 19 87 95
>
> INGENIEUR ENSIASTE
> Promotion 2007
>



-- 
YATIM Khalid
06 76 19 87 95

INGENIEUR ENSIASTE
Promotion 2007

Re: Incorrect configuration issue

Posted by khalid yatim <ya...@gmail.com>.
Hello,

I'm expressing some difficulties making a single node hadoop (2.6.0)
install working.

My confs files seem to be OK. but I'm getting this errors

Incorrect configuration: namenode address dfs.namenode.servicerpc-address
or dfs.namenode.rpc-address is not configured.

In hadoop-<user>-namenode-<machine>.log, I'm getting
Invalid URI for NameNode address (check fs.defaultFS): file:/// has no
authority.

Here is the content of my core-site.xml file

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License. See accompanying LICENSE file.
-->

<!-- Put site-specific property overrides in this file. -->

<configuration>
    <property>
        <name>hadoop.tmp.dir</name>
        <value>/app/hadoop/app</value>
        <description>Temporary Directory.</description>
    </property>
    <property>
        <name>fs.default.name</name>
        <value>hdfs://kyahadmaster:54310</value>
        <description>Use HDFS as file storage engine</description>
    </property>
</configuration>


2015-07-13 17:26 GMT+00:00 khalid yatim <ya...@gmail.com>:

> Hello,
>
> I'm expressing some difficulties making a single node hadoop (2.6.0)
> install working.
>
> My confs files seem to be OK. but I'm getting this errors
>
> Incorrect configuration: namenode address dfs.namenode.servicerpc-address
> or dfs.namenode.rpc-address is not configured.
>
> In hadoop-<user>-namenode-<machine>.log, I'm getting
> Invalid URI for NameNode address (check fs.defaultFS): file:/// has no
> authority.
>
>
> how can I configure logs to get more explicit information about what's
> going wrong?
>
>
> I'm new here!
>
> Thank you.
>
> --
> YATIM Khalid
> 06 76 19 87 95
>
> INGENIEUR ENSIASTE
> Promotion 2007
>



-- 
YATIM Khalid
06 76 19 87 95

INGENIEUR ENSIASTE
Promotion 2007

Re: Incorrect configuration issue

Posted by khalid yatim <ya...@gmail.com>.
Hello,

I'm expressing some difficulties making a single node hadoop (2.6.0)
install working.

My confs files seem to be OK. but I'm getting this errors

Incorrect configuration: namenode address dfs.namenode.servicerpc-address
or dfs.namenode.rpc-address is not configured.

In hadoop-<user>-namenode-<machine>.log, I'm getting
Invalid URI for NameNode address (check fs.defaultFS): file:/// has no
authority.

Here is the content of my core-site.xml file

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License. See accompanying LICENSE file.
-->

<!-- Put site-specific property overrides in this file. -->

<configuration>
    <property>
        <name>hadoop.tmp.dir</name>
        <value>/app/hadoop/app</value>
        <description>Temporary Directory.</description>
    </property>
    <property>
        <name>fs.default.name</name>
        <value>hdfs://kyahadmaster:54310</value>
        <description>Use HDFS as file storage engine</description>
    </property>
</configuration>


2015-07-13 17:26 GMT+00:00 khalid yatim <ya...@gmail.com>:

> Hello,
>
> I'm expressing some difficulties making a single node hadoop (2.6.0)
> install working.
>
> My confs files seem to be OK. but I'm getting this errors
>
> Incorrect configuration: namenode address dfs.namenode.servicerpc-address
> or dfs.namenode.rpc-address is not configured.
>
> In hadoop-<user>-namenode-<machine>.log, I'm getting
> Invalid URI for NameNode address (check fs.defaultFS): file:/// has no
> authority.
>
>
> how can I configure logs to get more explicit information about what's
> going wrong?
>
>
> I'm new here!
>
> Thank you.
>
> --
> YATIM Khalid
> 06 76 19 87 95
>
> INGENIEUR ENSIASTE
> Promotion 2007
>



-- 
YATIM Khalid
06 76 19 87 95

INGENIEUR ENSIASTE
Promotion 2007