- 博客(5)
- 收藏
- 关注
原创 elasticsearch 本地仓库安装
首先选择一台内外的本地主机当仓库,先安装httpdyum install httpd然后在你的这台主机下的/var/www/html/主机名/ 目录下创建名为elasticsearch的目录下一步通过浏览器访问这台主机的地址加刚才创建的那个目录名,如:http://10.0.62.16/ambari/elasticsearch其中ambari是我的主机名然后将从elasticsearch官网下载...
2018-05-23 10:51:42
1042
原创 源码编译ambari2.6.1遇到的问题
在编译ambari-server的时候,进行rpm打包的时候报错:[ERROR] Failed to execute goal org.codehaus.mojo:rpm-maven-plugin:2.1.4:rpm (default-cli) on project ambari-server: RPM build execution returned: '1' executing '/bin/s...
2018-05-02 15:07:47
1254
原创 hadoop
1、查看指定目录下内容Hadoop dfs –ls [文件目录]eg: hadoop dfs –ls /user/wangkai.pt2、打开某个已存在文件hadoop dfs –cat [file_path]eg:hadoop dfs -cat /user/wangkai.pt/data.txt3、将本地文件存储至hadoophadoop fs –put [本地地址] [hadoop目录]had...
2018-04-17 09:06:03
145
原创 关于Netty发送http请求实现文件上传
在发送http请求的时候关键在于request的封装1、首先要先将上传的文件封装到HttpPostRequestEncoder中HttpRequest request1 = new DefaultFullHttpRequest( HttpVersion.HTTP_1_1, HttpMethod.POST, url);HttpDataFactory factory =
2018-01-16 09:36:42
5687
6
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人