Comments (3)
请问是我的配置配的有问题么?
from easyml.
@mayaoguang
您好。关于您的问题:
1、请检查一下windows系统下是否能访问docker中的mysql。地址为:ubuntu地址:3306
2、您上述的错误原因为:
开发环境编译运行无法访问docker中的datanode。
关于这个问题,首先对于ubuntu来说,ubuntu主机能够访问docker中的hadoop-master(Docker自定义的虚拟地址:172.18.0.3)、hadoop-slave1(172.18.0.4)、hadoop-slave2(172.18.0.5)容器;对于windows系统来说,windows主机能够访问ubuntu。但是由于通过Eclipse或IDEA编译运行工程之后,相当于工程部署在windows系统的GWT Server上,任务的提交是通过windows系统进行提交即需要通过windows访问docker中的hdfs。目前的连接关系如下图所示:
(1)windows 能连接ubuntu
(2)ubuntu能连接Docker中的容器
(3)windows无法连接Docker中的容器(导致无法访问docker中的datanode)
目前的解决方案
1、上述开发机无法连接Docker Container的问题,我们目前还没有解决。您可以将EML工程通过maven编译、GWT编译之后打成war包,将war包拷贝到ubuntu系统中(建议用Eclipse进行打包,IDEA打包可能会有问题,具体请参考Eclipse搭建流程),再通过以下命令拷贝到docker的tomcat中进行部署访问:
docker cp 工程路径 hadoop-master:/usr/local/tomcat/webapps/
2、您也可以通过搭建Windows的docker环境,通过docker toolbox安装windows版本的docker,然后搭建虚拟集群,具体请参考Docker Toolbox安装流程。该toolbox的原理是将docker安装在virtual box的虚拟机上,docker的默认虚拟地址为192.168.99.100
。
这种方式也会存在无法访问docker datanode的问题,但是可以通过将Virtual Box虚拟机的网关以及windows 的网关改为192.168.99.100
来解决。
目前我们也在努力解决开发机无法访问Docker容器中的datanode的问题,如果您有合适的解决方案也欢迎一起讨论。
from easyml.
@mayaoguang
您好,您遇到的问题,我们已经解决,具体可参考https://github.com/ICT-BDA/EasyML/wiki/Summary-About-EasyML-Install-Common-Problems 关于IDE部分遇到问题的解决方案。
如您嫌麻烦,也可更新我们网盘中的安装包,我们今天会更新一个新版本解决上述问题。如有任何问题,欢迎向我们反馈,多谢!
from easyml.
Related Issues (20)
- 为什么程序节点下载不了了? HOT 3
- 实例分布式移动垃圾短信分类中Word_Segment模块【单机和分布式】缺失,可否上传一下 HOT 1
- 运行RMSE时提示错误,请问如何解决
- 外网的地址进不去了,没有人维护吗 HOT 3
- 利用docker部署分布式EasyML集群后,hadoop集群中的文件无法下载 HOT 2
- 利用docker部署分布式EasyML集群后,平台中的程序和数据集无法下载和查看 HOT 3
- Wiki中的图片无法显示
- 请问为什么有些官方的算法运行失败后不显示错误信息?已附图 HOT 6
- 任务执行结果无法下载 HOT 1
- 请问--master spark://bda07:7077这条指令中bda07指的是什么啊 HOT 2
- 关于EasyML平台的几个问题 HOT 2
- EasyML连接HDP3.0.1里面的oozie出问题,卡死。 HOT 1
- 有没有一些使用手册,可以指导性的使用。 HOT 1
- 请问通过平台训练完的模型是如何保存的? HOT 2
- docker安装的一些问题
- windows idea直接run程序,点击submit没有反应
- Ports are not available: listen tcp 0.0.0.0:50070 HOT 3
- 硬盘100% HOT 1
- 没人维护了吗
- 能否把wiki中的图片源换一下
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easyml.