tballison commented on PR #776:
URL: https://github.com/apache/nutch/pull/776#issuecomment-1725746397

   I'm getting a ConnectException when I try to run 
nutch-test-single-node-cluster.
   
   On hadoop startup, I see:
   ```
   2023-09-19 10:25:15,186 INFO util.GSet: VM type       = 64-bit
   2023-09-19 10:25:15,187 INFO util.GSet: 0.029999999329447746% max memory 7.7 
GB = 2.4 MB
   2023-09-19 10:25:15,187 INFO util.GSet: capacity      = 2^18 = 262144 entries
   Re-format filesystem in Storage Directory root= 
/tmp/hadoop-tallison/dfs/name; location= null ? (Y or N) y
   2023-09-19 10:25:17,593 INFO namenode.FSImage: Allocated new BlockPoolId: 
BP-993805694-127.0.1.1-1695133517585
   2023-09-19 10:25:17,594 INFO common.Storage: Will remove files: 
[/tmp/hadoop-tallison/dfs/name/current/fsimage_0000000000000000000.md5, 
/tmp/hadoop-tallison/dfs/name/current/VERSION, 
/tmp/hadoop-tallison/dfs/name/current/fsimage_0000000000000000000, 
/tmp/hadoop-tallison/dfs/name/current/seen_txid]
   2023-09-19 10:25:17,625 INFO common.Storage: Storage directory 
/tmp/hadoop-tallison/dfs/name has been successfully formatted.
   2023-09-19 10:25:17,648 INFO namenode.FSImageFormatProtobuf: Saving image 
file /tmp/hadoop-tallison/dfs/name/current/fsimage.ckpt_0000000000000000000 
using no compression
   2023-09-19 10:25:17,705 INFO namenode.FSImageFormatProtobuf: Image file 
/tmp/hadoop-tallison/dfs/name/current/fsimage.ckpt_0000000000000000000 of size 
403 bytes saved in 0 seconds .
   2023-09-19 10:25:17,718 INFO namenode.NNStorageRetentionManager: Going to 
retain 1 images with txid >= 0
   2023-09-19 10:25:17,744 INFO namenode.FSNamesystem: Stopping services 
started for active state
   2023-09-19 10:25:17,744 INFO namenode.FSNamesystem: Stopping services 
started for standby state
   2023-09-19 10:25:17,747 INFO namenode.FSImage: FSImageSaver clean 
checkpoint: txid=0 when meet shutdown.
   2023-09-19 10:25:17,747 INFO namenode.NameNode: SHUTDOWN_MSG: 
   /************************************************************
   SHUTDOWN_MSG: Shutting down NameNode at tallison-XPS-9320/127.0.1.1
   ************************************************************/
   + set -e
   + /opt/hadoop/3.3.6/sbin/start-dfs.sh
   Starting namenodes on [localhost]
   localhost: ssh: connect to host localhost port 22: Connection refused
   Starting datanodes
   localhost: ssh: connect to host localhost port 22: Connection refused
   Starting secondary namenodes [tallison-XPS-9320]
   tallison-XPS-9320: ssh: connect to host tallison-xps-9320 port 22: 
Connection refused
   + /opt/hadoop/3.3.6/sbin/start-yarn.sh
   Starting resourcemanager
   Starting nodemanagers
   localhost: ssh: connect to host localhost port 22: Connection refused
   ```
   I can navigate to http://localhost:8088/cluster/nodes and I see that there 
are zero nodes.
   
   I cannot navigate to http://localhost:9870/.
   
   When I try to run the test_tika_parser.sh, I see:
   
   ```
   + hadoop fs -mkdir -p crawl/seeds_tika/
   mkdir: Call From tallison-XPS-9320/127.0.1.1 to localhost:9000 failed on 
connection exception: java.net.ConnectException: Connection refused; For more 
details see:  http://wiki.apache.org/hadoop/ConnectionRefused
   ```
   
   This is Ubuntu with java 11.
   
   Any ideas what I'm doing wrong?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@nutch.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to