You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Cheng (JIRA)" <ji...@apache.org> on 2009/04/10 19:27:16 UTC

[jira] Created: (HADOOP-5653) seems that some component is still looking for hadoop-site.xml

seems that some component is still looking for hadoop-site.xml
--------------------------------------------------------------

                 Key: HADOOP-5653
                 URL: https://issues.apache.org/jira/browse/HADOOP-5653
             Project: Hadoop Core
          Issue Type: Bug
          Components: dfs
         Environment: linux 64 command line
            Reporter: Cheng


I created hdfs_site.xml. I can see hdfs files from browser. But I cannot list hdfs files from command line. I got local file list instead. If I create a hadoop-site.xml, it gives warning below but the command "./bin/hadoop dfs -ls" works.

09/04/10 17:09:29 WARN conf.Configuration: DEPRECATED: hadoop-site.xml found in the classpath. Usage of hadoop-site.xml is deprecated. Instead use core-site.xml, mapred-site.xml and hdfs-site.xml to override properties of core-default.xml, mapred-default.xml and hdfs-default.xml respectively

It seems that some component is still looking for hadoop-site.xml

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-5653) seems that some component is still looking for hadoop-site.xml

Posted by "Sharad Agarwal (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-5653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12698336#action_12698336 ] 

Sharad Agarwal commented on HADOOP-5653:
----------------------------------------

You mean namenode webui, right? Setting fs.default.name in core-site.xml should be sufficient. Can you give details about your setup?

> seems that some component is still looking for hadoop-site.xml
> --------------------------------------------------------------
>
>                 Key: HADOOP-5653
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5653
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>         Environment: hadoop-0.20.0-040709
> linux 64 command line
>            Reporter: Cheng
>
> I created hdfs_site.xml. I can see hdfs files from browser. But I cannot list hdfs files from command line. I got local file list instead. If I create a hadoop-site.xml, it gives warning below but the command "./bin/hadoop dfs -ls" works.
> 09/04/10 17:09:29 WARN conf.Configuration: DEPRECATED: hadoop-site.xml found in the classpath. Usage of hadoop-site.xml is deprecated. Instead use core-site.xml, mapred-site.xml and hdfs-site.xml to override properties of core-default.xml, mapred-default.xml and hdfs-default.xml respectively
> It seems that some component is still looking for hadoop-site.xml

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HADOOP-5653) seems that some component is still looking for hadoop-site.xml

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-5653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hairong Kuang resolved HADOOP-5653.
-----------------------------------

    Resolution: Won't Fix

fs.default.name is a core property and must be set in core-site.xml.

> seems that some component is still looking for hadoop-site.xml
> --------------------------------------------------------------
>
>                 Key: HADOOP-5653
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5653
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>         Environment: hadoop-0.20.0-040709
> linux 64 command line
>            Reporter: Cheng
>
> I created hdfs_site.xml. I can see hdfs files from browser. But I cannot list hdfs files from command line. I got local file list instead. If I create a hadoop-site.xml, it gives warning below but the command "./bin/hadoop dfs -ls" works.
> 09/04/10 17:09:29 WARN conf.Configuration: DEPRECATED: hadoop-site.xml found in the classpath. Usage of hadoop-site.xml is deprecated. Instead use core-site.xml, mapred-site.xml and hdfs-site.xml to override properties of core-default.xml, mapred-default.xml and hdfs-default.xml respectively
> It seems that some component is still looking for hadoop-site.xml

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HADOOP-5653) seems that some component is still looking for hadoop-site.xml

Posted by "Cheng (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-5653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cheng resolved HADOOP-5653.
---------------------------

    Resolution: Invalid

I might made a mistake. I removed everything and installed again. No issue found. 

> seems that some component is still looking for hadoop-site.xml
> --------------------------------------------------------------
>
>                 Key: HADOOP-5653
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5653
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>         Environment: hadoop-0.20.0-040709
> linux 64 command line
>            Reporter: Cheng
>
> I created hdfs_site.xml. I can see hdfs files from browser. But I cannot list hdfs files from command line. I got local file list instead. If I create a hadoop-site.xml, it gives warning below but the command "./bin/hadoop dfs -ls" works.
> 09/04/10 17:09:29 WARN conf.Configuration: DEPRECATED: hadoop-site.xml found in the classpath. Usage of hadoop-site.xml is deprecated. Instead use core-site.xml, mapred-site.xml and hdfs-site.xml to override properties of core-default.xml, mapred-default.xml and hdfs-default.xml respectively
> It seems that some component is still looking for hadoop-site.xml

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-5653) seems that some component is still looking for hadoop-site.xml

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-5653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697876#action_12697876 ] 

Hairong Kuang commented on HADOOP-5653:
---------------------------------------

Did you set fs.default.name in core-site.xml? This property should not be set in hdfs-site.xml.

> seems that some component is still looking for hadoop-site.xml
> --------------------------------------------------------------
>
>                 Key: HADOOP-5653
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5653
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>         Environment: hadoop-0.20.0-040709
> linux 64 command line
>            Reporter: Cheng
>
> I created hdfs_site.xml. I can see hdfs files from browser. But I cannot list hdfs files from command line. I got local file list instead. If I create a hadoop-site.xml, it gives warning below but the command "./bin/hadoop dfs -ls" works.
> 09/04/10 17:09:29 WARN conf.Configuration: DEPRECATED: hadoop-site.xml found in the classpath. Usage of hadoop-site.xml is deprecated. Instead use core-site.xml, mapred-site.xml and hdfs-site.xml to override properties of core-default.xml, mapred-default.xml and hdfs-default.xml respectively
> It seems that some component is still looking for hadoop-site.xml

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-5653) seems that some component is still looking for hadoop-site.xml

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-5653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12698005#action_12698005 ] 

Hairong Kuang commented on HADOOP-5653:
---------------------------------------

Not sure what is not working. Dfs needs conf to get started. But WebUI does not need a conf to communicate with dfs. 

> seems that some component is still looking for hadoop-site.xml
> --------------------------------------------------------------
>
>                 Key: HADOOP-5653
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5653
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>         Environment: hadoop-0.20.0-040709
> linux 64 command line
>            Reporter: Cheng
>
> I created hdfs_site.xml. I can see hdfs files from browser. But I cannot list hdfs files from command line. I got local file list instead. If I create a hadoop-site.xml, it gives warning below but the command "./bin/hadoop dfs -ls" works.
> 09/04/10 17:09:29 WARN conf.Configuration: DEPRECATED: hadoop-site.xml found in the classpath. Usage of hadoop-site.xml is deprecated. Instead use core-site.xml, mapred-site.xml and hdfs-site.xml to override properties of core-default.xml, mapred-default.xml and hdfs-default.xml respectively
> It seems that some component is still looking for hadoop-site.xml

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-5653) seems that some component is still looking for hadoop-site.xml

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-5653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697885#action_12697885 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-5653:
------------------------------------------------

> After I created a link file hadoop-site.xml which points to hdfs-site.xml, command line dfs command works.

Try creating a link file core-site.xml (instead of hadoop-site.xml) pointing to hdfs-site.xml.  I guess you may have set some core properties in hdfs-site.xml as suggested by Hairong's comment above.

> seems that some component is still looking for hadoop-site.xml
> --------------------------------------------------------------
>
>                 Key: HADOOP-5653
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5653
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>         Environment: hadoop-0.20.0-040709
> linux 64 command line
>            Reporter: Cheng
>
> I created hdfs_site.xml. I can see hdfs files from browser. But I cannot list hdfs files from command line. I got local file list instead. If I create a hadoop-site.xml, it gives warning below but the command "./bin/hadoop dfs -ls" works.
> 09/04/10 17:09:29 WARN conf.Configuration: DEPRECATED: hadoop-site.xml found in the classpath. Usage of hadoop-site.xml is deprecated. Instead use core-site.xml, mapred-site.xml and hdfs-site.xml to override properties of core-default.xml, mapred-default.xml and hdfs-default.xml respectively
> It seems that some component is still looking for hadoop-site.xml

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-5653) seems that some component is still looking for hadoop-site.xml

Posted by "Cheng (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-5653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697892#action_12697892 ] 

Cheng commented on HADOOP-5653:
-------------------------------

thx all.

> seems that some component is still looking for hadoop-site.xml
> --------------------------------------------------------------
>
>                 Key: HADOOP-5653
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5653
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>         Environment: hadoop-0.20.0-040709
> linux 64 command line
>            Reporter: Cheng
>
> I created hdfs_site.xml. I can see hdfs files from browser. But I cannot list hdfs files from command line. I got local file list instead. If I create a hadoop-site.xml, it gives warning below but the command "./bin/hadoop dfs -ls" works.
> 09/04/10 17:09:29 WARN conf.Configuration: DEPRECATED: hadoop-site.xml found in the classpath. Usage of hadoop-site.xml is deprecated. Instead use core-site.xml, mapred-site.xml and hdfs-site.xml to override properties of core-default.xml, mapred-default.xml and hdfs-default.xml respectively
> It seems that some component is still looking for hadoop-site.xml

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-5653) seems that some component is still looking for hadoop-site.xml

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-5653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697877#action_12697877 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-5653:
------------------------------------------------

> If I create a hadoop-site.xml, it gives warning below but ...

hadoop-site.xml was deprecated but is still supported.  In your case, you may create core-default.xml, mapred-default.xml and hdfs-default.xml, instead of hadoop-site.xml.  Then, you won't see any warning.

> seems that some component is still looking for hadoop-site.xml
> --------------------------------------------------------------
>
>                 Key: HADOOP-5653
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5653
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>         Environment: hadoop-0.20.0-040709
> linux 64 command line
>            Reporter: Cheng
>
> I created hdfs_site.xml. I can see hdfs files from browser. But I cannot list hdfs files from command line. I got local file list instead. If I create a hadoop-site.xml, it gives warning below but the command "./bin/hadoop dfs -ls" works.
> 09/04/10 17:09:29 WARN conf.Configuration: DEPRECATED: hadoop-site.xml found in the classpath. Usage of hadoop-site.xml is deprecated. Instead use core-site.xml, mapred-site.xml and hdfs-site.xml to override properties of core-default.xml, mapred-default.xml and hdfs-default.xml respectively
> It seems that some component is still looking for hadoop-site.xml

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-5653) seems that some component is still looking for hadoop-site.xml

Posted by "Cheng (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-5653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697887#action_12697887 ] 

Cheng commented on HADOOP-5653:
-------------------------------

I moved fs.deault.name property from hdfs-site.xml to core-site.xml. It works now. Does that mean fs.default.name must be in core-site.xml? Thx.



> seems that some component is still looking for hadoop-site.xml
> --------------------------------------------------------------
>
>                 Key: HADOOP-5653
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5653
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>         Environment: hadoop-0.20.0-040709
> linux 64 command line
>            Reporter: Cheng
>
> I created hdfs_site.xml. I can see hdfs files from browser. But I cannot list hdfs files from command line. I got local file list instead. If I create a hadoop-site.xml, it gives warning below but the command "./bin/hadoop dfs -ls" works.
> 09/04/10 17:09:29 WARN conf.Configuration: DEPRECATED: hadoop-site.xml found in the classpath. Usage of hadoop-site.xml is deprecated. Instead use core-site.xml, mapred-site.xml and hdfs-site.xml to override properties of core-default.xml, mapred-default.xml and hdfs-default.xml respectively
> It seems that some component is still looking for hadoop-site.xml

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-5653) seems that some component is still looking for hadoop-site.xml

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-5653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697888#action_12697888 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-5653:
------------------------------------------------

Yes, fs.default.name belongs core-site.xml since it only can be found in trunk/src/core/core-default.xml.

> seems that some component is still looking for hadoop-site.xml
> --------------------------------------------------------------
>
>                 Key: HADOOP-5653
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5653
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>         Environment: hadoop-0.20.0-040709
> linux 64 command line
>            Reporter: Cheng
>
> I created hdfs_site.xml. I can see hdfs files from browser. But I cannot list hdfs files from command line. I got local file list instead. If I create a hadoop-site.xml, it gives warning below but the command "./bin/hadoop dfs -ls" works.
> 09/04/10 17:09:29 WARN conf.Configuration: DEPRECATED: hadoop-site.xml found in the classpath. Usage of hadoop-site.xml is deprecated. Instead use core-site.xml, mapred-site.xml and hdfs-site.xml to override properties of core-default.xml, mapred-default.xml and hdfs-default.xml respectively
> It seems that some component is still looking for hadoop-site.xml

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-5653) seems that some component is still looking for hadoop-site.xml

Posted by "Cheng (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-5653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cheng updated HADOOP-5653:
--------------------------

    Environment: 
hadoop-0.20.0-040709
linux 64 command line

  was:linux 64 command line


> seems that some component is still looking for hadoop-site.xml
> --------------------------------------------------------------
>
>                 Key: HADOOP-5653
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5653
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>         Environment: hadoop-0.20.0-040709
> linux 64 command line
>            Reporter: Cheng
>
> I created hdfs_site.xml. I can see hdfs files from browser. But I cannot list hdfs files from command line. I got local file list instead. If I create a hadoop-site.xml, it gives warning below but the command "./bin/hadoop dfs -ls" works.
> 09/04/10 17:09:29 WARN conf.Configuration: DEPRECATED: hadoop-site.xml found in the classpath. Usage of hadoop-site.xml is deprecated. Instead use core-site.xml, mapred-site.xml and hdfs-site.xml to override properties of core-default.xml, mapred-default.xml and hdfs-default.xml respectively
> It seems that some component is still looking for hadoop-site.xml

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-5653) seems that some component is still looking for hadoop-site.xml

Posted by "Cheng (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-5653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697881#action_12697881 ] 

Cheng commented on HADOOP-5653:
-------------------------------

I have hdfs-site.xml.

As I mentioned, without hadoop-site.xml, I can see the hdfs files within web browser. So I think the configuration is ok. The problem happens in command line. After I created a link file hadoop-site.xml which points to hdfs-site.xml, command line dfs command works. 

> seems that some component is still looking for hadoop-site.xml
> --------------------------------------------------------------
>
>                 Key: HADOOP-5653
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5653
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>         Environment: hadoop-0.20.0-040709
> linux 64 command line
>            Reporter: Cheng
>
> I created hdfs_site.xml. I can see hdfs files from browser. But I cannot list hdfs files from command line. I got local file list instead. If I create a hadoop-site.xml, it gives warning below but the command "./bin/hadoop dfs -ls" works.
> 09/04/10 17:09:29 WARN conf.Configuration: DEPRECATED: hadoop-site.xml found in the classpath. Usage of hadoop-site.xml is deprecated. Instead use core-site.xml, mapred-site.xml and hdfs-site.xml to override properties of core-default.xml, mapred-default.xml and hdfs-default.xml respectively
> It seems that some component is still looking for hadoop-site.xml

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-5653) seems that some component is still looking for hadoop-site.xml

Posted by "Cheng (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-5653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697899#action_12697899 ] 

Cheng commented on HADOOP-5653:
-------------------------------

Still have problem:

  * If I set set fs.default.name in hdfs-site.xml, web interface works but command line not
  * If I set set fs.default.name in core-site.xml, command line works but web interface not

I have to set fs.default.name in both file to make both cmd line and web interface work.

> seems that some component is still looking for hadoop-site.xml
> --------------------------------------------------------------
>
>                 Key: HADOOP-5653
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5653
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>         Environment: hadoop-0.20.0-040709
> linux 64 command line
>            Reporter: Cheng
>
> I created hdfs_site.xml. I can see hdfs files from browser. But I cannot list hdfs files from command line. I got local file list instead. If I create a hadoop-site.xml, it gives warning below but the command "./bin/hadoop dfs -ls" works.
> 09/04/10 17:09:29 WARN conf.Configuration: DEPRECATED: hadoop-site.xml found in the classpath. Usage of hadoop-site.xml is deprecated. Instead use core-site.xml, mapred-site.xml and hdfs-site.xml to override properties of core-default.xml, mapred-default.xml and hdfs-default.xml respectively
> It seems that some component is still looking for hadoop-site.xml

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (HADOOP-5653) seems that some component is still looking for hadoop-site.xml

Posted by "Cheng (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-5653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cheng reopened HADOOP-5653:
---------------------------


> seems that some component is still looking for hadoop-site.xml
> --------------------------------------------------------------
>
>                 Key: HADOOP-5653
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5653
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>         Environment: hadoop-0.20.0-040709
> linux 64 command line
>            Reporter: Cheng
>
> I created hdfs_site.xml. I can see hdfs files from browser. But I cannot list hdfs files from command line. I got local file list instead. If I create a hadoop-site.xml, it gives warning below but the command "./bin/hadoop dfs -ls" works.
> 09/04/10 17:09:29 WARN conf.Configuration: DEPRECATED: hadoop-site.xml found in the classpath. Usage of hadoop-site.xml is deprecated. Instead use core-site.xml, mapred-site.xml and hdfs-site.xml to override properties of core-default.xml, mapred-default.xml and hdfs-default.xml respectively
> It seems that some component is still looking for hadoop-site.xml

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.