Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
update coment
Browse files Browse the repository at this point in the history
  • Loading branch information
qinchen123 committed Jul 19, 2018
1 parent d27f1d4 commit 737e720
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions hadoop-ai/hadoop-build/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ currently we support two hadoop versions: 2.7.2 and 2.9.0, If you want to switch
custom-hadoop-binary-path: /hadoop-binary/hadoop-2.9.0.tar.gz
hadoop-version: 2.9.0

4. Use paictl to build, push the image.
4. Change the done file ID in pai-management/paiLibrary/managementTool/ubuntu16.04/hadoop-ai-build.sh

5. stop/start the hadoop-resource-manager and hadoop-node-manager
5. Use paictl to build, push the image.

6. Stop/start the hadoop-resource-manager and hadoop-node-manager
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ hadoopbinarypath_dirname=$(dirname "${hadoopbinarypath}")
echo "the driname of the hadoopbinarypath is : $hadoopbinarypath_dirname"


[[ -f "${hadoopbinarypath_dirname}/12931129-done" ]] &&
[[ -f "${hadoopbinarypath_dirname}/12932063-done" ]] &&
{
echo "Hadoop ai with patch 12931129 has been built"
echo "Hadoop ai with patch 12932063 has been built"
echo "Skip this build precess"
exit 0
}
Expand Down

0 comments on commit 737e720

Please sign in to comment.