读好书,交益友
发布时间:2022-07-08 10:35:01
创建系统服务的路径是/usr/lib/systemd/system/elasticsearch.service这个是绝对路径,而不是用相对路径/etc/systemd/system/cp /run/systemd/generator.late/elasticsearch.service /usr/lib/systemd/system/elasticsearch.service groupadd elasticsearch chown -R elasticsearch:elasticsear.........【阅读全文】
发布时间:2022-01-04 16:17:43
下载librdkafka 点击(此处)折叠或打开https://github.com/edenhill/librdkafkacd librdkafka./configure --prefix=/usrmakesudo make installldconfig然后运行 pip install requests certifi confluent-kafka[avro,json,protobuf].........【阅读全文】
发布时间:2017-01-19 11:34:07
首先安装zkwget http://apache.mirrors.spacedump.net/zookeeper/current/zookeeper-3.4.6.tar.gz (or the appropriate version)tar -xvf zookeeper-3.4.6.tar.gzcd zookeeper/cd confcp zoo_sample.cfg zoo.cfg cd bin ./zkServer.sh start cd storm/bin ./storm nimbus &./storm.........【阅读全文】
发布时间:2015-12-17 20:54:29
exportKAFKA_HOME=/home/xhr/kafka_2.10-0.8.2.2exportPATH=$PATH:$KAFKA_HOME/binbin/zookeeper-server-start.shconfig/zookeeper.propertiesbin/kafka-server-start.shconfig/server.properties#bin/kafka-topics.sh--create-zookeeperlocalhost:2181--replication-factor1--partitions1--topic.........【阅读全文】
发布时间:2015-10-28 16:07:30
使用hadoop的时候,一直提示class找不到,输入java -version 显示gij必须删除gij,安装oracle的jdk输入rpm -qa | grep gcj显示libgcj-4.4.7-3.el6.x86_64java-1.5.0-gcj-1.5.0.0-29.1.el6.x86_64运行 yum remove java-1.5.0-gcj-1.5.0.0-29.1.el6.x86_64在/etc/profile添加export JAVA_HOME=/usr/ja.........【阅读全文】