Y. Luo
Y. Luo
根据官方文档采用docker-compose搭建了分布式的pyspider。 建立了一个`utils`工程打算将一些常用的函数放进去,比如generate_id()。最初建立`utils`工程的时候,在`generate_id()`函数中只有一句测试用的`return "Hello"`。后来在`generate_id()`函数中加入了代码之后,在别的模块中调用generate_id()函数,无论任何情况只返回"Hello"。在`utils`中加入新的函数,这些新的函数在别的模块中调用时也显示`module 'projects.utils' has no attribute 'xxx'`。 如果在utils中调用自己的函数比如`generate_id()`则没有问题。 刚才试了一下,重启整个集群能够暂时解决问题。但每次更新代码就重启实在不太方便。
flutter 0.9.4,计划像示例里面一样添加AMapView作为组件 ``` return new Scaffold( appBar: new AppBar(title: new Text('Titles')), body: Expanded(child: AMapView( )) ); ``` 但是ide直接报错说 `The arguemennt type 'AMapView' can't be assigned to the parameter type `Widget'`....
I have a dcos 1.10 cluster on centos 7.3, where hdfs has been successfully installed. When I want to install the Spark through the Catalog in the Web UI, meet...