<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Connection error sandbox-hdp.hortonworks.com/172.17.0.2 to sandbox.hortonworks.com:8020 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-error-sandbox-hdp-hortonworks-com-172-17-0-2-to/m-p/223316#M77457</link>
    <description>&lt;P&gt;Found were I could download sandbox 2.5. Will download 2.5 instead. &lt;A rel="user" href="https://community.cloudera.com/users/16034/gdeleon.html" nodeid="16034"&gt;@gdeleon&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Fri, 20 Apr 2018 15:36:35 GMT</pubDate>
    <dc:creator>r_bodegard</dc:creator>
    <dc:date>2018-04-20T15:36:35Z</dc:date>
    <item>
      <title>Connection error sandbox-hdp.hortonworks.com/172.17.0.2 to sandbox.hortonworks.com:8020</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-error-sandbox-hdp-hortonworks-com-172-17-0-2-to/m-p/223312#M77453</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have installed the hortonworks sandbox version --- and have followed this tutorial &lt;A href="https://hortonworks.com/tutorial/learning-the-ropes-of-the-hortonworks-sandbox/" target="_blank"&gt;https://hortonworks.com/tutorial/learning-the-ropes-of-the-hortonworks-sandbox/&lt;/A&gt; and everything seems to be up and running.&lt;/P&gt;&lt;P&gt;I want to use HBase and therfore followed this tutorial &lt;A href="https://hortonworks.com/hadoop-tutorial/introduction-apache-hbase-concepts-apache-phoenix-new-backup-restore-utility-hbase/#section_1" target="_blank"&gt;https://hortonworks.com/hadoop-tutorial/introduction-apache-hbase-concepts-apache-phoenix-new-backup-restore-utility-hbase/#section_1&lt;/A&gt;  but when I try to import data into Hbase using ImportTsv using the following statement:&lt;/P&gt;&lt;PRE&gt;&amp;lt;code&amp;gt;hbase org.apache.hadoop.hbase.mapreduce.ImportTsv-Dimporttsv.separator=,-Dimporttsv.columns="HBASE_ROW_KEY,events:driverId,events:driverName,events:eventTime,events:eventType,events:latitudeColumn,events:longitudeColumn,events:routeId,events:routeName,events:truckId" driver_dangerous_event hdfs://sandbox.hortonworks.com:/tmp/data.csv&lt;/PRE&gt;&lt;P&gt;I get the following error:&lt;/P&gt;&lt;PRE&gt;Exception in thread "main" java.net.ConnectException: Call From sandbox-hdp.hortonworks.com/172.17.0.2 t
o sandbox.hortonworks.com:8020 failed on connection exception: java.net.ConnectException: Connection ref
used; For more details see: &amp;lt;a href="http://wiki.apache.org/hadoop/ConnectionRefused"&amp;gt;http://wiki.apache.org/hadoop/ConnectionRefused&amp;lt;/a&amp;gt; 
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)                        
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) 
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.j
ava:45)                                                                                                 
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)                              
        at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:801)                            
        at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:732)                              
        at org.apache.hadoop.ipc.Client.getRpcResponse(Client.java:1558)                                
        at org.apache.hadoop.ipc.Client.call(Client.java:1498)                                          
        at org.apache.hadoop.ipc.Client.call(Client.java:1398)                                          
        at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:233)           
        at com.sun.proxy.$Proxy10.getFileInfo(Unknown Source)                                           
        at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo(ClientNameno
deProtocolTranslatorPB.java:823)                                                                        
        at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)                                  
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)        
        at java.lang.reflect.Method.invoke(Method.java:498)                                             
        at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:29
1)                                                                                                      
        at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:203)    
        at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:185)    
        at com.sun.proxy.$Proxy11.getFileInfo(Unknown Source)                                           
        at org.apache.hadoop.hdfs.DFSClient.getFileInfo(DFSClient.java:2165)                            
        at org.apache.hadoop.hdfs.DistributedFileSystem$26.doCall(DistributedFileSystem.java:1442)      
        at org.apache.hadoop.hdfs.DistributedFileSystem$26.doCall(DistributedFileSystem.java:1438)      
        at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)          
        at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1454)  
        at org.apache.hadoop.fs.Globber.getFileStatus(Globber.java:57)                                  
        at org.apache.hadoop.fs.Globber.glob(Globber.java:252)                                          
        at org.apache.hadoop.fs.FileSystem.globStatus(FileSystem.java:1715)                             
        at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.singleThreadedListStatus(FileInputForma
t.java:294)                                                                                             
        at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.listStatus(FileInputFormat.java:265)   
        at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.getSplits(FileInputFormat.java:387)    
        at org.apache.hadoop.mapreduce.JobSubmitter.writeNewSplits(JobSubmitter.java:301)               
        at org.apache.hadoop.mapreduce.JobSubmitter.writeSplits(JobSubmitter.java:318)                  
        at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:196)            
        at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1290)                                        
        at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1287)                                        
        at java.security.AccessController.doPrivileged(Native Method)                                   
        at javax.security.auth.Subject.doAs(Subject.java:422)                                           
        at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1869)         
        at org.apache.hadoop.mapreduce.Job.submit(Job.java:1287)                                        
        at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1308)                             
        at org.apache.hadoop.hbase.mapreduce.ImportTsv.run(ImportTsv.java:721)                          
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)                                    
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:90)                                    
        at org.apache.hadoop.hbase.mapreduce.ImportTsv.main(ImportTsv.java:725)                         
Caused by: java.net.ConnectException: Connection refused                                                
        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)                                     
        at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)                       
        at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)              
        at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:531)                                    
        at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:495)                                    
        at org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:650)                     
        at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:745)                      
        at org.apache.hadoop.ipc.Client$Connection.access$3200(Client.java:397)                         
        at org.apache.hadoop.ipc.Client.getConnection(Client.java:1620)                                 
        at org.apache.hadoop.ipc.Client.call(Client.java:1451)                                          
        ... 36 more                           
&lt;/PRE&gt;&lt;P&gt;What I understand from this is that I don't seem to be able to connect to the namenode (sandbox.hortonworks.com:8020), but everything seem to be up and running. I can copy data from my local machine to the hdfs using this command:&lt;/P&gt;&lt;PRE&gt;&amp;lt;code&amp;gt;hadoop fs -copyFromLocal ~/data.csv /tmp&lt;/PRE&gt;&lt;P&gt;So I seem to be able to connect to the hdfs.&lt;/P&gt;&lt;P&gt;Would be really grateful if someone could point me in the right direction.&lt;/P&gt;&lt;P&gt;//Rebecca&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2018 03:50:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-error-sandbox-hdp-hortonworks-com-172-17-0-2-to/m-p/223312#M77453</guid>
      <dc:creator>r_bodegard</dc:creator>
      <dc:date>2018-04-20T03:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: Connection error sandbox-hdp.hortonworks.com/172.17.0.2 to sandbox.hortonworks.com:8020</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-error-sandbox-hdp-hortonworks-com-172-17-0-2-to/m-p/223313#M77454</link>
      <description>&lt;P&gt;I solved this by changing the address to the hdfs to hdfs://sandbox-hdp.hortonworks.com:/tmp/data.csv&lt;/P&gt;&lt;P&gt;hbase org.apache.hadoop.hbase.mapreduce.ImportTsv -Dimporttsv.separator=,  -Dimporttsv.columns="HBASE_ROW_KEY,events:driverId,events:driverName,events:eventTime,events:eventType,events:latitudeColumn,events:longitudeColumn,events:routeId,events:routeName,events:truckId" driver_dangerous_event hdfs://sandbox-hdp.hortonworks.com:/tmp/data.csv&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2018 03:50:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-error-sandbox-hdp-hortonworks-com-172-17-0-2-to/m-p/223313#M77454</guid>
      <dc:creator>r_bodegard</dc:creator>
      <dc:date>2018-04-20T03:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: Connection error sandbox-hdp.hortonworks.com/172.17.0.2 to sandbox.hortonworks.com:8020</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-error-sandbox-hdp-hortonworks-com-172-17-0-2-to/m-p/223314#M77455</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/76180/rbodegard.html" nodeid="76180"&gt;@Rebecca
 B
&lt;/A&gt;, I am sorry to say that the tutorial you are trying run has not officially been updated to work with the latest HDP 2.6.4 sandbox. Please run tutorials that are published in the &lt;A href="https://hortonworks.com/tutorials/"&gt;Hortonworks tutorials page&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2018 07:35:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-error-sandbox-hdp-hortonworks-com-172-17-0-2-to/m-p/223314#M77455</guid>
      <dc:creator>gdeleon</dc:creator>
      <dc:date>2018-04-20T07:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Connection error sandbox-hdp.hortonworks.com/172.17.0.2 to sandbox.hortonworks.com:8020</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-error-sandbox-hdp-hortonworks-com-172-17-0-2-to/m-p/223315#M77456</link>
      <description>&lt;P&gt;Thank you for your answer &lt;A rel="user" href="https://community.cloudera.com/users/16034/gdeleon.html" nodeid="16034"&gt;@gdeleon&lt;/A&gt;. Is there any way to get to 2.5 sandbox instead? I wanted to use HBase for a case-study I'm doing and it would be great to ge able to run the tutorial. I did manage to solve the issue by changing the address to the hdfs to hdfs://sandbox-hdp.hortonworks.com:/tmp/data.csv so maybe I'll be able to work around the reset of the changes too but it would probably be easier if I could use the older version of the sandbox.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2018 15:32:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-error-sandbox-hdp-hortonworks-com-172-17-0-2-to/m-p/223315#M77456</guid>
      <dc:creator>r_bodegard</dc:creator>
      <dc:date>2018-04-20T15:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Connection error sandbox-hdp.hortonworks.com/172.17.0.2 to sandbox.hortonworks.com:8020</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-error-sandbox-hdp-hortonworks-com-172-17-0-2-to/m-p/223316#M77457</link>
      <description>&lt;P&gt;Found were I could download sandbox 2.5. Will download 2.5 instead. &lt;A rel="user" href="https://community.cloudera.com/users/16034/gdeleon.html" nodeid="16034"&gt;@gdeleon&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2018 15:36:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-error-sandbox-hdp-hortonworks-com-172-17-0-2-to/m-p/223316#M77457</guid>
      <dc:creator>r_bodegard</dc:creator>
      <dc:date>2018-04-20T15:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: Connection error sandbox-hdp.hortonworks.com/172.17.0.2 to sandbox.hortonworks.com:8020</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-error-sandbox-hdp-hortonworks-com-172-17-0-2-to/m-p/223317#M77458</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/76180/rbodegard.html" nodeid="76180"&gt;@Rebecca
 B&lt;/A&gt;, you can download old sandboxes in the "&lt;STRONG&gt;Hortonworks Sandbox Archive&lt;/STRONG&gt;" section of the &lt;A href="https://hortonworks.com/downloads/#sandbox"&gt;download&lt;/A&gt; page.&lt;BR /&gt;Although, please keep in mind that these are no longer supported.&lt;/P&gt;</description>
      <pubDate>Sat, 21 Apr 2018 00:57:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Connection-error-sandbox-hdp-hortonworks-com-172-17-0-2-to/m-p/223317#M77458</guid>
      <dc:creator>gdeleon</dc:creator>
      <dc:date>2018-04-21T00:57:53Z</dc:date>
    </item>
  </channel>
</rss>

