You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "J.Andreina (JIRA)" <ji...@apache.org> on 2012/04/26 11:35:17 UTC

[jira] [Created] (HDFS-3326) Even when dfs.support.append is set to true log message displays that the append is disabled

J.Andreina created HDFS-3326:
--------------------------------

             Summary: Even when dfs.support.append is set to true log message displays that the append is disabled
                 Key: HDFS-3326
                 URL: https://issues.apache.org/jira/browse/HDFS-3326
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: name-node
    Affects Versions: 2.0.0
            Reporter: J.Andreina
             Fix For: 2.0.0, 3.0.0


"dfs.support.append" is set to true
started NN in non-HA mode

At the NN side log the append enable is set to false.

This is because in code append enabled is set to HA enabled value.Since Started NN in non-HA mode the value for append is false
Code:
=====
{noformat}
this.supportAppends = conf.getBoolean(DFS_SUPPORT_APPEND_KEY, DFS_SUPPORT_APPEND_DEFAULT);
      LOG.info("Append Enabled: " + haEnabled);{noformat}
NN logs
========
{noformat}
2012-04-25 21:11:09,693 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: HA Enabled: false
2012-04-25 21:11:09,702 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Append Enabled: false{noformat}


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-3326) Append enabled log message uses the wrong variable

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

Eli Collins updated HDFS-3326:
------------------------------

    Summary: Append enabled log message uses the wrong variable  (was: Even when dfs.support.append is set to true log message displays that the append is disabled)
    
> Append enabled log message uses the wrong variable
> --------------------------------------------------
>
>                 Key: HDFS-3326
>                 URL: https://issues.apache.org/jira/browse/HDFS-3326
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 2.0.0
>            Reporter: J.Andreina
>            Assignee: Matthew Jacobs
>            Priority: Trivial
>              Labels: newbie
>         Attachments: hdfs-3326.txt
>
>
> "dfs.support.append" is set to true
> started NN in non-HA mode
> At the NN side log the append enable is set to false.
> This is because in code append enabled is set to HA enabled value.Since Started NN in non-HA mode the value for append is false
> Code:
> =====
> {noformat}
> this.supportAppends = conf.getBoolean(DFS_SUPPORT_APPEND_KEY, DFS_SUPPORT_APPEND_DEFAULT);
>       LOG.info("Append Enabled: " + haEnabled);{noformat}
> NN logs
> ========
> {noformat}
> 2012-04-25 21:11:09,693 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: HA Enabled: false
> 2012-04-25 21:11:09,702 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Append Enabled: false{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (HDFS-3326) Even when dfs.support.append is set to true log message displays that the append is disabled

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

Eli Collins reassigned HDFS-3326:
---------------------------------

    Assignee: Matthew Jacobs
    
> Even when dfs.support.append is set to true log message displays that the append is disabled
> --------------------------------------------------------------------------------------------
>
>                 Key: HDFS-3326
>                 URL: https://issues.apache.org/jira/browse/HDFS-3326
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 2.0.0
>            Reporter: J.Andreina
>            Assignee: Matthew Jacobs
>            Priority: Trivial
>              Labels: newbie
>
> "dfs.support.append" is set to true
> started NN in non-HA mode
> At the NN side log the append enable is set to false.
> This is because in code append enabled is set to HA enabled value.Since Started NN in non-HA mode the value for append is false
> Code:
> =====
> {noformat}
> this.supportAppends = conf.getBoolean(DFS_SUPPORT_APPEND_KEY, DFS_SUPPORT_APPEND_DEFAULT);
>       LOG.info("Append Enabled: " + haEnabled);{noformat}
> NN logs
> ========
> {noformat}
> 2012-04-25 21:11:09,693 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: HA Enabled: false
> 2012-04-25 21:11:09,702 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Append Enabled: false{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-3326) Append enabled log message uses the wrong variable

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-3326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264316#comment-13264316 ] 

Hudson commented on HDFS-3326:
------------------------------

Integrated in Hadoop-Hdfs-trunk #1028 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1028/])
    HDFS-3326. Append enabled log message uses the wrong variable. Contributed by Matthew Jacobs (Revision 1331626)

     Result = FAILURE
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1331626
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java

                
> Append enabled log message uses the wrong variable
> --------------------------------------------------
>
>                 Key: HDFS-3326
>                 URL: https://issues.apache.org/jira/browse/HDFS-3326
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 2.0.0
>            Reporter: J.Andreina
>            Assignee: Matthew Jacobs
>            Priority: Trivial
>              Labels: newbie
>             Fix For: 2.0.0
>
>         Attachments: hdfs-3326.txt
>
>
> "dfs.support.append" is set to true
> started NN in non-HA mode
> At the NN side log the append enable is set to false.
> This is because in code append enabled is set to HA enabled value.Since Started NN in non-HA mode the value for append is false
> Code:
> =====
> {noformat}
> this.supportAppends = conf.getBoolean(DFS_SUPPORT_APPEND_KEY, DFS_SUPPORT_APPEND_DEFAULT);
>       LOG.info("Append Enabled: " + haEnabled);{noformat}
> NN logs
> ========
> {noformat}
> 2012-04-25 21:11:09,693 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: HA Enabled: false
> 2012-04-25 21:11:09,702 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Append Enabled: false{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-3326) Even when dfs.support.append is set to true log message displays that the append is disabled

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

Eli Collins updated HDFS-3326:
------------------------------

            Priority: Trivial  (was: Major)
    Target Version/s: 2.0.0  (was: 3.0.0, 2.0.0)
       Fix Version/s:     (was: 3.0.0)
                          (was: 2.0.0)
              Labels: newbie  (was: )
    
> Even when dfs.support.append is set to true log message displays that the append is disabled
> --------------------------------------------------------------------------------------------
>
>                 Key: HDFS-3326
>                 URL: https://issues.apache.org/jira/browse/HDFS-3326
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 2.0.0
>            Reporter: J.Andreina
>            Priority: Trivial
>              Labels: newbie
>
> "dfs.support.append" is set to true
> started NN in non-HA mode
> At the NN side log the append enable is set to false.
> This is because in code append enabled is set to HA enabled value.Since Started NN in non-HA mode the value for append is false
> Code:
> =====
> {noformat}
> this.supportAppends = conf.getBoolean(DFS_SUPPORT_APPEND_KEY, DFS_SUPPORT_APPEND_DEFAULT);
>       LOG.info("Append Enabled: " + haEnabled);{noformat}
> NN logs
> ========
> {noformat}
> 2012-04-25 21:11:09,693 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: HA Enabled: false
> 2012-04-25 21:11:09,702 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Append Enabled: false{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-3326) Append enabled log message uses the wrong variable

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-3326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264130#comment-13264130 ] 

Hudson commented on HDFS-3326:
------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #2165 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2165/])
    HDFS-3326. Append enabled log message uses the wrong variable. Contributed by Matthew Jacobs (Revision 1331626)

     Result = ABORTED
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1331626
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java

                
> Append enabled log message uses the wrong variable
> --------------------------------------------------
>
>                 Key: HDFS-3326
>                 URL: https://issues.apache.org/jira/browse/HDFS-3326
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 2.0.0
>            Reporter: J.Andreina
>            Assignee: Matthew Jacobs
>            Priority: Trivial
>              Labels: newbie
>             Fix For: 2.0.0
>
>         Attachments: hdfs-3326.txt
>
>
> "dfs.support.append" is set to true
> started NN in non-HA mode
> At the NN side log the append enable is set to false.
> This is because in code append enabled is set to HA enabled value.Since Started NN in non-HA mode the value for append is false
> Code:
> =====
> {noformat}
> this.supportAppends = conf.getBoolean(DFS_SUPPORT_APPEND_KEY, DFS_SUPPORT_APPEND_DEFAULT);
>       LOG.info("Append Enabled: " + haEnabled);{noformat}
> NN logs
> ========
> {noformat}
> 2012-04-25 21:11:09,693 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: HA Enabled: false
> 2012-04-25 21:11:09,702 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Append Enabled: false{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-3326) Append enabled log message uses the wrong variable

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-3326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264334#comment-13264334 ] 

Hudson commented on HDFS-3326:
------------------------------

Integrated in Hadoop-Mapreduce-trunk #1063 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1063/])
    HDFS-3326. Append enabled log message uses the wrong variable. Contributed by Matthew Jacobs (Revision 1331626)

     Result = FAILURE
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1331626
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java

                
> Append enabled log message uses the wrong variable
> --------------------------------------------------
>
>                 Key: HDFS-3326
>                 URL: https://issues.apache.org/jira/browse/HDFS-3326
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 2.0.0
>            Reporter: J.Andreina
>            Assignee: Matthew Jacobs
>            Priority: Trivial
>              Labels: newbie
>             Fix For: 2.0.0
>
>         Attachments: hdfs-3326.txt
>
>
> "dfs.support.append" is set to true
> started NN in non-HA mode
> At the NN side log the append enable is set to false.
> This is because in code append enabled is set to HA enabled value.Since Started NN in non-HA mode the value for append is false
> Code:
> =====
> {noformat}
> this.supportAppends = conf.getBoolean(DFS_SUPPORT_APPEND_KEY, DFS_SUPPORT_APPEND_DEFAULT);
>       LOG.info("Append Enabled: " + haEnabled);{noformat}
> NN logs
> ========
> {noformat}
> 2012-04-25 21:11:09,693 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: HA Enabled: false
> 2012-04-25 21:11:09,702 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Append Enabled: false{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-3326) Even when dfs.support.append is set to true log message displays that the append is disabled

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

Matthew Jacobs updated HDFS-3326:
---------------------------------

    Attachment: hdfs-3326.txt

Patch attached
                
> Even when dfs.support.append is set to true log message displays that the append is disabled
> --------------------------------------------------------------------------------------------
>
>                 Key: HDFS-3326
>                 URL: https://issues.apache.org/jira/browse/HDFS-3326
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 2.0.0
>            Reporter: J.Andreina
>            Assignee: Matthew Jacobs
>            Priority: Trivial
>              Labels: newbie
>         Attachments: hdfs-3326.txt
>
>
> "dfs.support.append" is set to true
> started NN in non-HA mode
> At the NN side log the append enable is set to false.
> This is because in code append enabled is set to HA enabled value.Since Started NN in non-HA mode the value for append is false
> Code:
> =====
> {noformat}
> this.supportAppends = conf.getBoolean(DFS_SUPPORT_APPEND_KEY, DFS_SUPPORT_APPEND_DEFAULT);
>       LOG.info("Append Enabled: " + haEnabled);{noformat}
> NN logs
> ========
> {noformat}
> 2012-04-25 21:11:09,693 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: HA Enabled: false
> 2012-04-25 21:11:09,702 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Append Enabled: false{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-3326) Append enabled log message uses the wrong variable

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-3326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264100#comment-13264100 ] 

Hudson commented on HDFS-3326:
------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #2222 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2222/])
    HDFS-3326. Append enabled log message uses the wrong variable. Contributed by Matthew Jacobs (Revision 1331626)

     Result = SUCCESS
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1331626
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java

                
> Append enabled log message uses the wrong variable
> --------------------------------------------------
>
>                 Key: HDFS-3326
>                 URL: https://issues.apache.org/jira/browse/HDFS-3326
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 2.0.0
>            Reporter: J.Andreina
>            Assignee: Matthew Jacobs
>            Priority: Trivial
>              Labels: newbie
>             Fix For: 2.0.0
>
>         Attachments: hdfs-3326.txt
>
>
> "dfs.support.append" is set to true
> started NN in non-HA mode
> At the NN side log the append enable is set to false.
> This is because in code append enabled is set to HA enabled value.Since Started NN in non-HA mode the value for append is false
> Code:
> =====
> {noformat}
> this.supportAppends = conf.getBoolean(DFS_SUPPORT_APPEND_KEY, DFS_SUPPORT_APPEND_DEFAULT);
>       LOG.info("Append Enabled: " + haEnabled);{noformat}
> NN logs
> ========
> {noformat}
> 2012-04-25 21:11:09,693 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: HA Enabled: false
> 2012-04-25 21:11:09,702 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Append Enabled: false{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-3326) Append enabled log message uses the wrong variable

Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-3326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264070#comment-13264070 ] 

Eli Collins commented on HDFS-3326:
-----------------------------------

+1 looks good. I'll commit this w/o jenkins since it's a trivial change.
                
> Append enabled log message uses the wrong variable
> --------------------------------------------------
>
>                 Key: HDFS-3326
>                 URL: https://issues.apache.org/jira/browse/HDFS-3326
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 2.0.0
>            Reporter: J.Andreina
>            Assignee: Matthew Jacobs
>            Priority: Trivial
>              Labels: newbie
>         Attachments: hdfs-3326.txt
>
>
> "dfs.support.append" is set to true
> started NN in non-HA mode
> At the NN side log the append enable is set to false.
> This is because in code append enabled is set to HA enabled value.Since Started NN in non-HA mode the value for append is false
> Code:
> =====
> {noformat}
> this.supportAppends = conf.getBoolean(DFS_SUPPORT_APPEND_KEY, DFS_SUPPORT_APPEND_DEFAULT);
>       LOG.info("Append Enabled: " + haEnabled);{noformat}
> NN logs
> ========
> {noformat}
> 2012-04-25 21:11:09,693 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: HA Enabled: false
> 2012-04-25 21:11:09,702 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Append Enabled: false{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-3326) Append enabled log message uses the wrong variable

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-3326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264087#comment-13264087 ] 

Hudson commented on HDFS-3326:
------------------------------

Integrated in Hadoop-Common-trunk-Commit #2148 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2148/])
    HDFS-3326. Append enabled log message uses the wrong variable. Contributed by Matthew Jacobs (Revision 1331626)

     Result = SUCCESS
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1331626
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java

                
> Append enabled log message uses the wrong variable
> --------------------------------------------------
>
>                 Key: HDFS-3326
>                 URL: https://issues.apache.org/jira/browse/HDFS-3326
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 2.0.0
>            Reporter: J.Andreina
>            Assignee: Matthew Jacobs
>            Priority: Trivial
>              Labels: newbie
>             Fix For: 2.0.0
>
>         Attachments: hdfs-3326.txt
>
>
> "dfs.support.append" is set to true
> started NN in non-HA mode
> At the NN side log the append enable is set to false.
> This is because in code append enabled is set to HA enabled value.Since Started NN in non-HA mode the value for append is false
> Code:
> =====
> {noformat}
> this.supportAppends = conf.getBoolean(DFS_SUPPORT_APPEND_KEY, DFS_SUPPORT_APPEND_DEFAULT);
>       LOG.info("Append Enabled: " + haEnabled);{noformat}
> NN logs
> ========
> {noformat}
> 2012-04-25 21:11:09,693 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: HA Enabled: false
> 2012-04-25 21:11:09,702 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Append Enabled: false{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-3326) Even when dfs.support.append is set to true log message displays that the append is disabled

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

Matthew Jacobs updated HDFS-3326:
---------------------------------

    Status: Patch Available  (was: Open)
    
> Even when dfs.support.append is set to true log message displays that the append is disabled
> --------------------------------------------------------------------------------------------
>
>                 Key: HDFS-3326
>                 URL: https://issues.apache.org/jira/browse/HDFS-3326
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 2.0.0
>            Reporter: J.Andreina
>            Assignee: Matthew Jacobs
>            Priority: Trivial
>              Labels: newbie
>         Attachments: hdfs-3326.txt
>
>
> "dfs.support.append" is set to true
> started NN in non-HA mode
> At the NN side log the append enable is set to false.
> This is because in code append enabled is set to HA enabled value.Since Started NN in non-HA mode the value for append is false
> Code:
> =====
> {noformat}
> this.supportAppends = conf.getBoolean(DFS_SUPPORT_APPEND_KEY, DFS_SUPPORT_APPEND_DEFAULT);
>       LOG.info("Append Enabled: " + haEnabled);{noformat}
> NN logs
> ========
> {noformat}
> 2012-04-25 21:11:09,693 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: HA Enabled: false
> 2012-04-25 21:11:09,702 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Append Enabled: false{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-3326) Append enabled log message uses the wrong variable

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

Eli Collins updated HDFS-3326:
------------------------------

          Resolution: Fixed
       Fix Version/s: 2.0.0
    Target Version/s:   (was: 2.0.0)
        Hadoop Flags: Reviewed
              Status: Resolved  (was: Patch Available)

I've committed this and merged to branch-2, thanks Matt!
                
> Append enabled log message uses the wrong variable
> --------------------------------------------------
>
>                 Key: HDFS-3326
>                 URL: https://issues.apache.org/jira/browse/HDFS-3326
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 2.0.0
>            Reporter: J.Andreina
>            Assignee: Matthew Jacobs
>            Priority: Trivial
>              Labels: newbie
>             Fix For: 2.0.0
>
>         Attachments: hdfs-3326.txt
>
>
> "dfs.support.append" is set to true
> started NN in non-HA mode
> At the NN side log the append enable is set to false.
> This is because in code append enabled is set to HA enabled value.Since Started NN in non-HA mode the value for append is false
> Code:
> =====
> {noformat}
> this.supportAppends = conf.getBoolean(DFS_SUPPORT_APPEND_KEY, DFS_SUPPORT_APPEND_DEFAULT);
>       LOG.info("Append Enabled: " + haEnabled);{noformat}
> NN logs
> ========
> {noformat}
> 2012-04-25 21:11:09,693 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: HA Enabled: false
> 2012-04-25 21:11:09,702 INFO org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Append Enabled: false{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira