You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ay...@apache.org on 2023/04/23 19:55:03 UTC

[hadoop] branch branch-3.3 updated (57ff8bdb67c -> 1ea5fbd1928)

This is an automated email from the ASF dual-hosted git repository.

ayushsaxena pushed a change to branch branch-3.3
in repository https://gitbox.apache.org/repos/asf/hadoop.git


    from 57ff8bdb67c HADOOP-18691. Add a CallerContext getter on the Schedulable interface (#5540)
     new 7a32e7cc383 HADOOP-18597. Simplify single node instructions for creating directories for Map Reduce. (#5305)
     new 1ea5fbd1928 HDFS-16988. Improve NameServices info at JournalNode web UI (#5584). Contributed by Zhaohui Wang.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../hadoop-common/src/site/markdown/SingleCluster.md.vm               | 3 +--
 hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/journal/jn.js        | 4 +++-
 2 files changed, 4 insertions(+), 3 deletions(-)


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


[hadoop] 02/02: HDFS-16988. Improve NameServices info at JournalNode web UI (#5584). Contributed by Zhaohui Wang.

Posted by ay...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ayushsaxena pushed a commit to branch branch-3.3
in repository https://gitbox.apache.org/repos/asf/hadoop.git

commit 1ea5fbd1928c2205362e41a99bc31169c62e3259
Author: wangzhaohui <32...@users.noreply.github.com>
AuthorDate: Mon Apr 24 03:43:02 2023 +0800

    HDFS-16988. Improve NameServices info at JournalNode web UI (#5584). Contributed by Zhaohui Wang.
    
    Signed-off-by: Ayush Saxena <ay...@apache.org>
---
 hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/journal/jn.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/journal/jn.js b/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/journal/jn.js
index 7be48f1e04d..260615b0e21 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/journal/jn.js
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/journal/jn.js
@@ -61,7 +61,9 @@
 
     function workaround(journals) {
         for (var i in journals){
-            journals[i]['NameService']= journals[i]['modelerType'].split("-")[1];
+            var str= journals[i]['modelerType'];
+            var index= str.indexOf("-");
+            journals[i]['NameService']= str.substr(index + 1);
         }
 
         return journals;


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


[hadoop] 01/02: HADOOP-18597. Simplify single node instructions for creating directories for Map Reduce. (#5305)

Posted by ay...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ayushsaxena pushed a commit to branch branch-3.3
in repository https://gitbox.apache.org/repos/asf/hadoop.git

commit 7a32e7cc3839cdedc22b0e15fbce9afc8c3c2020
Author: Nikita Eshkeev <ne...@yandex.ru>
AuthorDate: Thu Apr 20 13:42:44 2023 +0300

    HADOOP-18597. Simplify single node instructions for creating directories for Map Reduce. (#5305)
    
    Signed-off-by: Ayush Saxena <ay...@apache.org>
---
 .../hadoop-common/src/site/markdown/SingleCluster.md.vm                | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/hadoop-common-project/hadoop-common/src/site/markdown/SingleCluster.md.vm b/hadoop-common-project/hadoop-common/src/site/markdown/SingleCluster.md.vm
index bbea16855e5..8153dce5c3f 100644
--- a/hadoop-common-project/hadoop-common/src/site/markdown/SingleCluster.md.vm
+++ b/hadoop-common-project/hadoop-common/src/site/markdown/SingleCluster.md.vm
@@ -157,8 +157,7 @@ The following instructions are to run a MapReduce job locally. If you want to ex
 
 4.  Make the HDFS directories required to execute MapReduce jobs:
 
-          $ bin/hdfs dfs -mkdir /user
-          $ bin/hdfs dfs -mkdir /user/<username>
+          $ bin/hdfs dfs -mkdir -p /user/<username>
 
 5.  Copy the input files into the distributed filesystem:
 


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org