leiningen Leiningen是你的主要工具, 它用于: 启动一个 REPL 下载+安装类库 运行你的程序 启动一个服务器, 运行你所写的webapps 安装 brew install leiningen 打开repl lein repl 12345678910111213 lein replnREPL server started on port 50438 on host 127.0.0.1 - nrepl://127.0.0.1:50438REPL-y 0.3.5, nREPL 0…
一.linux中配置redis,使用java连接测试时报错: Exception in thread "main" redis.clients.jedis.exceptions.JedisConnectionException: java.net.ConnectException: Connection refused (Connection refused) 原因: linux中的防火墙没有关闭,在终端中输入以下命令关闭防火墙即可: 1) Linux操作系统中永久性生效,重启后不会复…
1:安装好hive,准备启动的时候出现下面的错误(由于hive是基于Hadoop的,所以必须先将你的集群启动起来,我就是没有启动集群,直接启动hive导致的错误): [root@master bin]# ./hive Logging initialized -bin/lib/hive-common-.jar!/hive-log4j.properties Exception failed on connection exception: java.net.ConnectException: Con…
1.虽然,不是大错,还说要贴一下,由于我运行run-example streaming.NetworkWordCount localhost 9999的测试案例,出现的错误,第一感觉就是Spark没有启动导致的: // :: ERROR SparkContext: Error initializing SparkContext. java.net.ConnectException: Call From slaver1/ failed on connection exception: java.n…
hadoop集群搭建了ha,初次启动正常,最近几天启动时偶尔发现,namenode1节点启动后一段时间(大约10几秒-半分钟左右),namenode1上namenode进程停掉,查看日志: -- ::, INFO org.apache.hadoop.ipc.Client: Retrying connect to server: slave1/. Already tried , sleepTime= MILLISECONDS) -- ::, WARN org.apache.hadoop.hdfs.…
1:练习spark的时候,操作大概如我读取hdfs上面的文件,然后spark懒加载以后,我读取详细信息出现如下所示的错误,错误虽然不大,我感觉有必要记录一下,因为错误的起因是对命令的不熟悉造成的,错误如下所示: scala> text.collect java.net.ConnectException: Call From slaver1/ failed on connection exception: java.net.ConnectException: Connection refused;…
Bad connection to FS. command aborted. exception: Call to chaoren/192.168.80.100:9000 failed on connection exception: java.net.ConnectException: Connection refused 错误解决方法: 1.先将/usr/local/hadoop/tmp/dfs文件夹整个删除掉(cd /usr/local/hadoop/tmp rm -rf dfs) 2.再…
1:启动Spark Shell,spark-shell是Spark自带的交互式Shell程序,方便用户进行交互式编程,用户可以在该命令行下用scala编写spark程序. 启动Spark Shell,出现的错误如下所示: [root@master spark--bin-hadoop2.]# bin/spark-shell --master spark://master:7077 --executor-memory 512M --total-executor-cores 2 // :: WARN…
com.mongodb.MongoSocketOpenException: Exception opening socket at com.mongodb.connection.SocketStream.open(SocketStream.java:63) ~[mongodb-driver-core-3.4.3.jar:na]at com.mongodb.connection.InternalStreamConnection.open(InternalStreamConnection.java:…
1 详细异常 org.apache.avro.AvroRemoteException: java.net.ConnectException: Connection refused (Connection refused) at org.apache.avro.ipc.specific.SpecificRequestor.invoke(SpecificRequestor.java:88) at com.sun.proxy.$Proxy123.queryEvents(Unknown Source)…