Site unreachable with Hadoop on Docker












0















I try to use Hadoop with Docker Toolbox on Windows 10 Family. So I followed this setup : https://linoxide.com/cluster/setup-single-node-hadoop-cluster-docker/




  1. Download the image --> OK.

  2. Run the container --> OK.


$ docker run -it sequenceiq/hadoop-docker:2.7.1 /etc/bootstrap.sh -bash/
Starting sshd: [ OK ]
18/11/16 10:38:22 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Starting namenodes on [c13feb9767ac]
c13feb9767ac: starting namenode, logging to /usr/local/hadoop/logs/hadoop-root-namenode-c13feb9767ac.out
localhost: starting datanode, logging to /usr/local/hadoop/logs/hadoop-root- datanode-c13feb9767ac.out
Starting secondary namenodes [0.0.0.0]
0.0.0.0: starting secondarynamenode, logging to /usr/local/hadoop/logs/hadoop-root-secondarynamenode-c13feb9767ac.out
18/11/16 10:40:34 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
starting yarn daemons
starting resourcemanager, logging to /usr/local/hadoop/logs/yarn--resourcemanager-c13feb9767ac.out
localhost: starting nodemanager, logging to /usr/local/hadoop/logs/yarn-root-nodemanager-c13feb9767ac.out



  1. Run jps command --> OK.


bash-4.1# jps
119 NameNode
535 ResourceManager
200 DataNode
656 Jps
319 SecondaryNameNode
620 NodeManager



  1. Get IP address --> OK.


bash-4.1# ifconfig
...
inet addr:172.17.0.2
...



  1. Go to browser (Google Chrome v70) --> KO.


Adress used : 172.17.0.2:50070



Error :




This site is unreachable 172.17.0.2 took too long to answer.




Can you help me to fix it please? If you need more informations ask me.



Thanks.



UPDATE 1:



docker ps result:



c13feb9767ac      sequenceiq/hadoop-docker:2.7.1   "/etc/bootstrap.sh -…"   20 minutes ago      Up 20 minutes       2122/tcp, 8030-8033/tcp, 8040/tcp, 8042/tcp, 8088/tcp, 19888/tcp, 49707/tcp, 50010/tcp, 50020/tcp, 50070/tcp, 50075/tcp, 50090/tcp   xenodochial_euclid


UPDATE 2:



I opened the port 50070 on the firewall but problem is still present.










share|improve this question

























  • "Docker Toolbox" is deprecated. Please use Docker for Windows

    – cricket_007
    Nov 17 '18 at 5:59











  • I tried but I don't have Windows Pro or Windows Enterprise. Docker for Windows not works on Windows Family/Home.

    – N. Lamblin
    Nov 17 '18 at 8:39


















0















I try to use Hadoop with Docker Toolbox on Windows 10 Family. So I followed this setup : https://linoxide.com/cluster/setup-single-node-hadoop-cluster-docker/




  1. Download the image --> OK.

  2. Run the container --> OK.


$ docker run -it sequenceiq/hadoop-docker:2.7.1 /etc/bootstrap.sh -bash/
Starting sshd: [ OK ]
18/11/16 10:38:22 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Starting namenodes on [c13feb9767ac]
c13feb9767ac: starting namenode, logging to /usr/local/hadoop/logs/hadoop-root-namenode-c13feb9767ac.out
localhost: starting datanode, logging to /usr/local/hadoop/logs/hadoop-root- datanode-c13feb9767ac.out
Starting secondary namenodes [0.0.0.0]
0.0.0.0: starting secondarynamenode, logging to /usr/local/hadoop/logs/hadoop-root-secondarynamenode-c13feb9767ac.out
18/11/16 10:40:34 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
starting yarn daemons
starting resourcemanager, logging to /usr/local/hadoop/logs/yarn--resourcemanager-c13feb9767ac.out
localhost: starting nodemanager, logging to /usr/local/hadoop/logs/yarn-root-nodemanager-c13feb9767ac.out



  1. Run jps command --> OK.


bash-4.1# jps
119 NameNode
535 ResourceManager
200 DataNode
656 Jps
319 SecondaryNameNode
620 NodeManager



  1. Get IP address --> OK.


bash-4.1# ifconfig
...
inet addr:172.17.0.2
...



  1. Go to browser (Google Chrome v70) --> KO.


Adress used : 172.17.0.2:50070



Error :




This site is unreachable 172.17.0.2 took too long to answer.




Can you help me to fix it please? If you need more informations ask me.



Thanks.



UPDATE 1:



docker ps result:



c13feb9767ac      sequenceiq/hadoop-docker:2.7.1   "/etc/bootstrap.sh -…"   20 minutes ago      Up 20 minutes       2122/tcp, 8030-8033/tcp, 8040/tcp, 8042/tcp, 8088/tcp, 19888/tcp, 49707/tcp, 50010/tcp, 50020/tcp, 50070/tcp, 50075/tcp, 50090/tcp   xenodochial_euclid


UPDATE 2:



I opened the port 50070 on the firewall but problem is still present.










share|improve this question

























  • "Docker Toolbox" is deprecated. Please use Docker for Windows

    – cricket_007
    Nov 17 '18 at 5:59











  • I tried but I don't have Windows Pro or Windows Enterprise. Docker for Windows not works on Windows Family/Home.

    – N. Lamblin
    Nov 17 '18 at 8:39
















0












0








0








I try to use Hadoop with Docker Toolbox on Windows 10 Family. So I followed this setup : https://linoxide.com/cluster/setup-single-node-hadoop-cluster-docker/




  1. Download the image --> OK.

  2. Run the container --> OK.


$ docker run -it sequenceiq/hadoop-docker:2.7.1 /etc/bootstrap.sh -bash/
Starting sshd: [ OK ]
18/11/16 10:38:22 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Starting namenodes on [c13feb9767ac]
c13feb9767ac: starting namenode, logging to /usr/local/hadoop/logs/hadoop-root-namenode-c13feb9767ac.out
localhost: starting datanode, logging to /usr/local/hadoop/logs/hadoop-root- datanode-c13feb9767ac.out
Starting secondary namenodes [0.0.0.0]
0.0.0.0: starting secondarynamenode, logging to /usr/local/hadoop/logs/hadoop-root-secondarynamenode-c13feb9767ac.out
18/11/16 10:40:34 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
starting yarn daemons
starting resourcemanager, logging to /usr/local/hadoop/logs/yarn--resourcemanager-c13feb9767ac.out
localhost: starting nodemanager, logging to /usr/local/hadoop/logs/yarn-root-nodemanager-c13feb9767ac.out



  1. Run jps command --> OK.


bash-4.1# jps
119 NameNode
535 ResourceManager
200 DataNode
656 Jps
319 SecondaryNameNode
620 NodeManager



  1. Get IP address --> OK.


bash-4.1# ifconfig
...
inet addr:172.17.0.2
...



  1. Go to browser (Google Chrome v70) --> KO.


Adress used : 172.17.0.2:50070



Error :




This site is unreachable 172.17.0.2 took too long to answer.




Can you help me to fix it please? If you need more informations ask me.



Thanks.



UPDATE 1:



docker ps result:



c13feb9767ac      sequenceiq/hadoop-docker:2.7.1   "/etc/bootstrap.sh -…"   20 minutes ago      Up 20 minutes       2122/tcp, 8030-8033/tcp, 8040/tcp, 8042/tcp, 8088/tcp, 19888/tcp, 49707/tcp, 50010/tcp, 50020/tcp, 50070/tcp, 50075/tcp, 50090/tcp   xenodochial_euclid


UPDATE 2:



I opened the port 50070 on the firewall but problem is still present.










share|improve this question
















I try to use Hadoop with Docker Toolbox on Windows 10 Family. So I followed this setup : https://linoxide.com/cluster/setup-single-node-hadoop-cluster-docker/




  1. Download the image --> OK.

  2. Run the container --> OK.


$ docker run -it sequenceiq/hadoop-docker:2.7.1 /etc/bootstrap.sh -bash/
Starting sshd: [ OK ]
18/11/16 10:38:22 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Starting namenodes on [c13feb9767ac]
c13feb9767ac: starting namenode, logging to /usr/local/hadoop/logs/hadoop-root-namenode-c13feb9767ac.out
localhost: starting datanode, logging to /usr/local/hadoop/logs/hadoop-root- datanode-c13feb9767ac.out
Starting secondary namenodes [0.0.0.0]
0.0.0.0: starting secondarynamenode, logging to /usr/local/hadoop/logs/hadoop-root-secondarynamenode-c13feb9767ac.out
18/11/16 10:40:34 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
starting yarn daemons
starting resourcemanager, logging to /usr/local/hadoop/logs/yarn--resourcemanager-c13feb9767ac.out
localhost: starting nodemanager, logging to /usr/local/hadoop/logs/yarn-root-nodemanager-c13feb9767ac.out



  1. Run jps command --> OK.


bash-4.1# jps
119 NameNode
535 ResourceManager
200 DataNode
656 Jps
319 SecondaryNameNode
620 NodeManager



  1. Get IP address --> OK.


bash-4.1# ifconfig
...
inet addr:172.17.0.2
...



  1. Go to browser (Google Chrome v70) --> KO.


Adress used : 172.17.0.2:50070



Error :




This site is unreachable 172.17.0.2 took too long to answer.




Can you help me to fix it please? If you need more informations ask me.



Thanks.



UPDATE 1:



docker ps result:



c13feb9767ac      sequenceiq/hadoop-docker:2.7.1   "/etc/bootstrap.sh -…"   20 minutes ago      Up 20 minutes       2122/tcp, 8030-8033/tcp, 8040/tcp, 8042/tcp, 8088/tcp, 19888/tcp, 49707/tcp, 50010/tcp, 50020/tcp, 50070/tcp, 50075/tcp, 50090/tcp   xenodochial_euclid


UPDATE 2:



I opened the port 50070 on the firewall but problem is still present.







docker hadoop






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 17 '18 at 8:47







N. Lamblin

















asked Nov 16 '18 at 16:19









N. LamblinN. Lamblin

17513




17513













  • "Docker Toolbox" is deprecated. Please use Docker for Windows

    – cricket_007
    Nov 17 '18 at 5:59











  • I tried but I don't have Windows Pro or Windows Enterprise. Docker for Windows not works on Windows Family/Home.

    – N. Lamblin
    Nov 17 '18 at 8:39





















  • "Docker Toolbox" is deprecated. Please use Docker for Windows

    – cricket_007
    Nov 17 '18 at 5:59











  • I tried but I don't have Windows Pro or Windows Enterprise. Docker for Windows not works on Windows Family/Home.

    – N. Lamblin
    Nov 17 '18 at 8:39



















"Docker Toolbox" is deprecated. Please use Docker for Windows

– cricket_007
Nov 17 '18 at 5:59





"Docker Toolbox" is deprecated. Please use Docker for Windows

– cricket_007
Nov 17 '18 at 5:59













I tried but I don't have Windows Pro or Windows Enterprise. Docker for Windows not works on Windows Family/Home.

– N. Lamblin
Nov 17 '18 at 8:39







I tried but I don't have Windows Pro or Windows Enterprise. Docker for Windows not works on Windows Family/Home.

– N. Lamblin
Nov 17 '18 at 8:39














1 Answer
1






active

oldest

votes


















1














At the very least, you need to expose the port.



docker run -it -p 50070:50070 sequenceiq/hadoop-docker:2.7.1



Then, if you want to continue using the old Docker Toolbox (that linked post was created in 2016, before Docker for Windows existed), you need to not use ifconfig, but rather docker-machine ip from Windows, not the container





Personally, I use Docker Compose



version: "2"

services:
namenode:
image: bde2020/hadoop-namenode:1.1.0-hadoop2.7.1-java8
container_name: namenode
ports:
- 8020:8020
- 50070:50070
# - 59050:59050
volumes:
- hadoop_namenode:/hadoop/dfs/name
environment:
- CLUSTER_NAME=test
env_file:
- ./hadoop.env
networks:
- hadoop

datanode1:
image: bde2020/hadoop-datanode:1.1.0-hadoop2.7.1-java8
container_name: datanode1
ports:
- 50075:50075
depends_on:
- namenode
volumes:
- hadoop_datanode1:/hadoop/dfs/data
env_file:
- ./hadoop.env
networks:
- hadoop

volumes:
hadoop_namenode:
hadoop_datanode1:

networks:
hadoop:


hadoop.env



CORE_CONF_fs_defaultFS=hdfs://namenode:8020
CORE_CONF_hadoop_http_staticuser_user=root

HDFS_CONF_dfs_replication=1
HDFS_CONF_dfs_webhdfs_enabled=true
HDFS_CONF_dfs_permissions_enabled=false





share|improve this answer


























  • I executed these commands : docker run -it -p 50070:50070 sequenceiq/hadoop-docker:2.7.1 and docker-machine ip. Now I can access to Hadoop on my browser, thanks! However, I can't execute command as jsp into terminal because prompt is not back after container start... Any idea?

    – N. Lamblin
    Nov 17 '18 at 10:33






  • 1





    Cool. Feel free to use the checkmark next to the post to accept the answer... And docker ps, get the ID of the container, then docker exec <id> bash, then you can run jps

    – cricket_007
    Nov 17 '18 at 20:40






  • 1





    If you did not do docker run -d, then yes

    – cricket_007
    Nov 17 '18 at 23:42






  • 1





    You'd need to do docker exec -it to enter an "interactive TTY"

    – cricket_007
    Nov 18 '18 at 4:20






  • 1





    Not sure why that matters, but as mentioned, docker run -d ...

    – cricket_007
    Nov 18 '18 at 10:35











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53341736%2fsite-unreachable-with-hadoop-on-docker%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














At the very least, you need to expose the port.



docker run -it -p 50070:50070 sequenceiq/hadoop-docker:2.7.1



Then, if you want to continue using the old Docker Toolbox (that linked post was created in 2016, before Docker for Windows existed), you need to not use ifconfig, but rather docker-machine ip from Windows, not the container





Personally, I use Docker Compose



version: "2"

services:
namenode:
image: bde2020/hadoop-namenode:1.1.0-hadoop2.7.1-java8
container_name: namenode
ports:
- 8020:8020
- 50070:50070
# - 59050:59050
volumes:
- hadoop_namenode:/hadoop/dfs/name
environment:
- CLUSTER_NAME=test
env_file:
- ./hadoop.env
networks:
- hadoop

datanode1:
image: bde2020/hadoop-datanode:1.1.0-hadoop2.7.1-java8
container_name: datanode1
ports:
- 50075:50075
depends_on:
- namenode
volumes:
- hadoop_datanode1:/hadoop/dfs/data
env_file:
- ./hadoop.env
networks:
- hadoop

volumes:
hadoop_namenode:
hadoop_datanode1:

networks:
hadoop:


hadoop.env



CORE_CONF_fs_defaultFS=hdfs://namenode:8020
CORE_CONF_hadoop_http_staticuser_user=root

HDFS_CONF_dfs_replication=1
HDFS_CONF_dfs_webhdfs_enabled=true
HDFS_CONF_dfs_permissions_enabled=false





share|improve this answer


























  • I executed these commands : docker run -it -p 50070:50070 sequenceiq/hadoop-docker:2.7.1 and docker-machine ip. Now I can access to Hadoop on my browser, thanks! However, I can't execute command as jsp into terminal because prompt is not back after container start... Any idea?

    – N. Lamblin
    Nov 17 '18 at 10:33






  • 1





    Cool. Feel free to use the checkmark next to the post to accept the answer... And docker ps, get the ID of the container, then docker exec <id> bash, then you can run jps

    – cricket_007
    Nov 17 '18 at 20:40






  • 1





    If you did not do docker run -d, then yes

    – cricket_007
    Nov 17 '18 at 23:42






  • 1





    You'd need to do docker exec -it to enter an "interactive TTY"

    – cricket_007
    Nov 18 '18 at 4:20






  • 1





    Not sure why that matters, but as mentioned, docker run -d ...

    – cricket_007
    Nov 18 '18 at 10:35
















1














At the very least, you need to expose the port.



docker run -it -p 50070:50070 sequenceiq/hadoop-docker:2.7.1



Then, if you want to continue using the old Docker Toolbox (that linked post was created in 2016, before Docker for Windows existed), you need to not use ifconfig, but rather docker-machine ip from Windows, not the container





Personally, I use Docker Compose



version: "2"

services:
namenode:
image: bde2020/hadoop-namenode:1.1.0-hadoop2.7.1-java8
container_name: namenode
ports:
- 8020:8020
- 50070:50070
# - 59050:59050
volumes:
- hadoop_namenode:/hadoop/dfs/name
environment:
- CLUSTER_NAME=test
env_file:
- ./hadoop.env
networks:
- hadoop

datanode1:
image: bde2020/hadoop-datanode:1.1.0-hadoop2.7.1-java8
container_name: datanode1
ports:
- 50075:50075
depends_on:
- namenode
volumes:
- hadoop_datanode1:/hadoop/dfs/data
env_file:
- ./hadoop.env
networks:
- hadoop

volumes:
hadoop_namenode:
hadoop_datanode1:

networks:
hadoop:


hadoop.env



CORE_CONF_fs_defaultFS=hdfs://namenode:8020
CORE_CONF_hadoop_http_staticuser_user=root

HDFS_CONF_dfs_replication=1
HDFS_CONF_dfs_webhdfs_enabled=true
HDFS_CONF_dfs_permissions_enabled=false





share|improve this answer


























  • I executed these commands : docker run -it -p 50070:50070 sequenceiq/hadoop-docker:2.7.1 and docker-machine ip. Now I can access to Hadoop on my browser, thanks! However, I can't execute command as jsp into terminal because prompt is not back after container start... Any idea?

    – N. Lamblin
    Nov 17 '18 at 10:33






  • 1





    Cool. Feel free to use the checkmark next to the post to accept the answer... And docker ps, get the ID of the container, then docker exec <id> bash, then you can run jps

    – cricket_007
    Nov 17 '18 at 20:40






  • 1





    If you did not do docker run -d, then yes

    – cricket_007
    Nov 17 '18 at 23:42






  • 1





    You'd need to do docker exec -it to enter an "interactive TTY"

    – cricket_007
    Nov 18 '18 at 4:20






  • 1





    Not sure why that matters, but as mentioned, docker run -d ...

    – cricket_007
    Nov 18 '18 at 10:35














1












1








1







At the very least, you need to expose the port.



docker run -it -p 50070:50070 sequenceiq/hadoop-docker:2.7.1



Then, if you want to continue using the old Docker Toolbox (that linked post was created in 2016, before Docker for Windows existed), you need to not use ifconfig, but rather docker-machine ip from Windows, not the container





Personally, I use Docker Compose



version: "2"

services:
namenode:
image: bde2020/hadoop-namenode:1.1.0-hadoop2.7.1-java8
container_name: namenode
ports:
- 8020:8020
- 50070:50070
# - 59050:59050
volumes:
- hadoop_namenode:/hadoop/dfs/name
environment:
- CLUSTER_NAME=test
env_file:
- ./hadoop.env
networks:
- hadoop

datanode1:
image: bde2020/hadoop-datanode:1.1.0-hadoop2.7.1-java8
container_name: datanode1
ports:
- 50075:50075
depends_on:
- namenode
volumes:
- hadoop_datanode1:/hadoop/dfs/data
env_file:
- ./hadoop.env
networks:
- hadoop

volumes:
hadoop_namenode:
hadoop_datanode1:

networks:
hadoop:


hadoop.env



CORE_CONF_fs_defaultFS=hdfs://namenode:8020
CORE_CONF_hadoop_http_staticuser_user=root

HDFS_CONF_dfs_replication=1
HDFS_CONF_dfs_webhdfs_enabled=true
HDFS_CONF_dfs_permissions_enabled=false





share|improve this answer















At the very least, you need to expose the port.



docker run -it -p 50070:50070 sequenceiq/hadoop-docker:2.7.1



Then, if you want to continue using the old Docker Toolbox (that linked post was created in 2016, before Docker for Windows existed), you need to not use ifconfig, but rather docker-machine ip from Windows, not the container





Personally, I use Docker Compose



version: "2"

services:
namenode:
image: bde2020/hadoop-namenode:1.1.0-hadoop2.7.1-java8
container_name: namenode
ports:
- 8020:8020
- 50070:50070
# - 59050:59050
volumes:
- hadoop_namenode:/hadoop/dfs/name
environment:
- CLUSTER_NAME=test
env_file:
- ./hadoop.env
networks:
- hadoop

datanode1:
image: bde2020/hadoop-datanode:1.1.0-hadoop2.7.1-java8
container_name: datanode1
ports:
- 50075:50075
depends_on:
- namenode
volumes:
- hadoop_datanode1:/hadoop/dfs/data
env_file:
- ./hadoop.env
networks:
- hadoop

volumes:
hadoop_namenode:
hadoop_datanode1:

networks:
hadoop:


hadoop.env



CORE_CONF_fs_defaultFS=hdfs://namenode:8020
CORE_CONF_hadoop_http_staticuser_user=root

HDFS_CONF_dfs_replication=1
HDFS_CONF_dfs_webhdfs_enabled=true
HDFS_CONF_dfs_permissions_enabled=false






share|improve this answer














share|improve this answer



share|improve this answer








edited Nov 17 '18 at 6:07

























answered Nov 17 '18 at 6:01









cricket_007cricket_007

81.2k1142111




81.2k1142111













  • I executed these commands : docker run -it -p 50070:50070 sequenceiq/hadoop-docker:2.7.1 and docker-machine ip. Now I can access to Hadoop on my browser, thanks! However, I can't execute command as jsp into terminal because prompt is not back after container start... Any idea?

    – N. Lamblin
    Nov 17 '18 at 10:33






  • 1





    Cool. Feel free to use the checkmark next to the post to accept the answer... And docker ps, get the ID of the container, then docker exec <id> bash, then you can run jps

    – cricket_007
    Nov 17 '18 at 20:40






  • 1





    If you did not do docker run -d, then yes

    – cricket_007
    Nov 17 '18 at 23:42






  • 1





    You'd need to do docker exec -it to enter an "interactive TTY"

    – cricket_007
    Nov 18 '18 at 4:20






  • 1





    Not sure why that matters, but as mentioned, docker run -d ...

    – cricket_007
    Nov 18 '18 at 10:35



















  • I executed these commands : docker run -it -p 50070:50070 sequenceiq/hadoop-docker:2.7.1 and docker-machine ip. Now I can access to Hadoop on my browser, thanks! However, I can't execute command as jsp into terminal because prompt is not back after container start... Any idea?

    – N. Lamblin
    Nov 17 '18 at 10:33






  • 1





    Cool. Feel free to use the checkmark next to the post to accept the answer... And docker ps, get the ID of the container, then docker exec <id> bash, then you can run jps

    – cricket_007
    Nov 17 '18 at 20:40






  • 1





    If you did not do docker run -d, then yes

    – cricket_007
    Nov 17 '18 at 23:42






  • 1





    You'd need to do docker exec -it to enter an "interactive TTY"

    – cricket_007
    Nov 18 '18 at 4:20






  • 1





    Not sure why that matters, but as mentioned, docker run -d ...

    – cricket_007
    Nov 18 '18 at 10:35

















I executed these commands : docker run -it -p 50070:50070 sequenceiq/hadoop-docker:2.7.1 and docker-machine ip. Now I can access to Hadoop on my browser, thanks! However, I can't execute command as jsp into terminal because prompt is not back after container start... Any idea?

– N. Lamblin
Nov 17 '18 at 10:33





I executed these commands : docker run -it -p 50070:50070 sequenceiq/hadoop-docker:2.7.1 and docker-machine ip. Now I can access to Hadoop on my browser, thanks! However, I can't execute command as jsp into terminal because prompt is not back after container start... Any idea?

– N. Lamblin
Nov 17 '18 at 10:33




1




1





Cool. Feel free to use the checkmark next to the post to accept the answer... And docker ps, get the ID of the container, then docker exec <id> bash, then you can run jps

– cricket_007
Nov 17 '18 at 20:40





Cool. Feel free to use the checkmark next to the post to accept the answer... And docker ps, get the ID of the container, then docker exec <id> bash, then you can run jps

– cricket_007
Nov 17 '18 at 20:40




1




1





If you did not do docker run -d, then yes

– cricket_007
Nov 17 '18 at 23:42





If you did not do docker run -d, then yes

– cricket_007
Nov 17 '18 at 23:42




1




1





You'd need to do docker exec -it to enter an "interactive TTY"

– cricket_007
Nov 18 '18 at 4:20





You'd need to do docker exec -it to enter an "interactive TTY"

– cricket_007
Nov 18 '18 at 4:20




1




1





Not sure why that matters, but as mentioned, docker run -d ...

– cricket_007
Nov 18 '18 at 10:35





Not sure why that matters, but as mentioned, docker run -d ...

– cricket_007
Nov 18 '18 at 10:35


















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53341736%2fsite-unreachable-with-hadoop-on-docker%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







這個網誌中的熱門文章

Tangent Lines Diagram Along Smooth Curve

Yusuf al-Mu'taman ibn Hud

Zucchini