I was trying to run the Juint testcases on my custom Cluster which setup on remote machine. I have modified the hbase-site.xml to point to remote hdfs setup. But when run the unit test case it starts looking in my local host.
Do I need to make changes in any other configuration files. Here is the output that I am getting when I run TestAdmin Unit testcase. If you see the logs it tries to connect on namenode.NameNode: Namenode up at: 127.0.0.1/127.0.0.1:18306 10/07/23 18:39:40 INFO hbase.HBaseTestingUtility: Starting up minicluster 10/07/23 18:39:42 INFO namenode.FSNamesystem: fsOwner=gagan-pc\gagan,None,Users,ORA_DBA 10/07/23 18:39:42 INFO namenode.FSNamesystem: supergroup=supergroup 10/07/23 18:39:42 INFO namenode.FSNamesystem: isPermissionEnabled=true 10/07/23 18:39:42 INFO common.Storage: Image file of size 104 saved in 0 seconds. 10/07/23 18:39:42 INFO common.Storage: Storage directory C:\Users\Gagan\Desktop\eclipse-jee-galileo-SR1-win32\ECLIPSE FOR HBASE\Hbasewrk\HBase\target\build\data\5fa05578-155c-4cb7-88cd-b4e67b278ed4\dfs\name1 has been successfully formatted. 10/07/23 18:39:42 INFO common.Storage: Image file of size 104 saved in 0 seconds. 10/07/23 18:39:42 INFO common.Storage: Storage directory C:\Users\Gagan\Desktop\eclipse-jee-galileo-SR1-win32\ECLIPSE FOR HBASE\Hbasewrk\HBase\target\build\data\5fa05578-155c-4cb7-88cd-b4e67b278ed4\dfs\name2 has been successfully formatted. 10/07/23 18:39:43 INFO metrics.RpcMetrics: Initializing RPC Metrics with hostName=NameNode, port=18306 10/07/23 18:39:43 INFO namenode.NameNode: Namenode up at: 127.0.0.1/127.0.0.1:18306 10/07/23 18:39:43 INFO jvm.JvmMetrics: Initializing JVM Metrics with processName=NameNode, sessionId=null Thanks, Gagan