Skip to content

Commit

Permalink
Closes #67. Attempt to fix the build by changing the way the host nam…
Browse files Browse the repository at this point in the history
…e is specified.
  • Loading branch information
xkrogen committed Oct 8, 2018
1 parent 8072558 commit 77c9d06
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions dynamometer-infra/src/main/resources/start-component.sh
Original file line number Diff line number Diff line change
Expand Up @@ -163,15 +163,13 @@ if [ "$component" = "datanode" ]; then
listingFiles+=("file://${listingFile}")
done

localHostname=`hostname`

read -r -d '' datanodeClusterConfigs <<EOF
-D fs.defaultFS=${nnServiceRpcAddress}
-D dfs.datanode.hostname=${localHostname}
-D dfs.datanode.hostname=$(hostname)
-D dfs.datanode.data.dir=${dataDirs}
-D dfs.datanode.ipc.address=${localHostname}:0
-D dfs.datanode.http.address=${localHostname}:0
-D dfs.datanode.address=${localHostname}:0
-D dfs.datanode.ipc.address=0.0.0.0:0
-D dfs.datanode.http.address=0.0.0.0:0
-D dfs.datanode.address=0.0.0.0:0
-D dfs.datanode.directoryscan.interval=-1
-D fs.du.interval=43200000
-D fs.getspaceused.jitterMillis=21600000
Expand Down

0 comments on commit 77c9d06

Please sign in to comment.