You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to set it up today and I was greeted with this error when I tried to uses the hive table we have setup:
2013-11-06T15:32:19.381-0800 ERROR Stage-20131106_233217_00001_rwbfh.1-378 com.facebook.presto.execution.SqlStageExecution Error while starting stage 20131
106_233217_00001_rwbfh.1
java.lang.RuntimeException: java.io.IOException: java.lang.IllegalArgumentException: java.net.UnknownHostException: sf-cluster
at com.google.common.base.Throwables.propagate(Throwables.java:160) ~[guava-15.0.jar:na]
at com.facebook.presto.hive.HiveSplitIterable$HiveSplitQueue.computeNext(HiveSplitIterable.java:433) ~[na:na]
at com.facebook.presto.hive.HiveSplitIterable$HiveSplitQueue.computeNext(HiveSplitIterable.java:392) ~[na:na]
at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) ~[guava-15.0.jar:na]
at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) ~[guava-15.0.jar:na]
at com.facebook.presto.execution.SqlStageExecution.startTasks(SqlStageExecution.java:463) [presto-main-0.52.jar:0.52]
at com.facebook.presto.execution.SqlStageExecution.access$300(SqlStageExecution.java:80) [presto-main-0.52.jar:0.52]
at com.facebook.presto.execution.SqlStageExecution$5.run(SqlStageExecution.java:435) [presto-main-0.52.jar:0.52]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_06]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [na:1.7.0_06]
at java.util.concurrent.FutureTask.run(FutureTask.java:166) [na:1.7.0_06]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [na:1.7.0_06]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [na:1.7.0_06]
at java.lang.Thread.run(Thread.java:722) [na:1.7.0_06]
Caused by: java.io.IOException: java.lang.IllegalArgumentException: java.net.UnknownHostException: sf-cluster
at com.facebook.presto.hive.FileSystemCache$1$1.getFileSystem(FileSystemCache.java:71) ~[na:na]
at com.facebook.presto.hive.ForwardingPath.getFileSystem(ForwardingPath.java:47) ~[na:na]
at com.facebook.presto.hive.FileSystemWrapper$1.getFileSystem(FileSystemWrapper.java:78) ~[na:na]
at com.facebook.presto.hive.HiveSplitIterable.loadPartitionSplits(HiveSplitIterable.java:181) ~[na:na]
at com.facebook.presto.hive.HiveSplitIterable.access$100(HiveSplitIterable.java:73) ~[na:na]
at com.facebook.presto.hive.HiveSplitIterable$2.call(HiveSplitIterable.java:154) ~[na:na]
at com.facebook.presto.hive.HiveSplitIterable$2.call(HiveSplitIterable.java:149) ~[na:na]
... 5 common frames omitted
Caused by: java.lang.IllegalArgumentException: java.net.UnknownHostException: sf-cluster
at org.apache.hadoop.security.SecurityUtil.buildTokenService(SecurityUtil.java:414) ~[na:na]
at org.apache.hadoop.hdfs.NameNodeProxies.createNonHAProxy(NameNodeProxies.java:164) ~[na:na]
at org.apache.hadoop.hdfs.NameNodeProxies.createProxy(NameNodeProxies.java:129) ~[na:na]
at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:448) ~[na:na]
at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:410) ~[na:na]
at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:128) ~[na:na]
at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2308) ~[na:na]
at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:87) ~[na:na]
at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2342) ~[na:na]
at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2324) ~[na:na]
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:351) ~[na:na]
at org.apache.hadoop.fs.Path.getFileSystem(Path.java:194) ~[na:na]
at com.facebook.presto.hive.FileSystemCache$2.call(FileSystemCache.java:92) ~[na:na]
at com.facebook.presto.hive.FileSystemCache$2.call(FileSystemCache.java:87) ~[na:na]
at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4724) ~[guava-15.0.jar:na]
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3522) ~[guava-15.0.jar:na]
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2315) ~[guava-15.0.jar:na]
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2278) ~[guava-15.0.jar:na]
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2193) ~[guava-15.0.jar:na]
at com.google.common.cache.LocalCache.get(LocalCache.java:3932) ~[guava-15.0.jar:na]
at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4721) ~[guava-15.0.jar:na]
at com.facebook.presto.hive.FileSystemCache$1$1.getFileSystem(FileSystemCache.java:68) ~[na:na]
... 11 common frames omitted
Caused by: java.net.UnknownHostException: sf-cluster
... 33 common frames omitted
I tried to add the hadoop config files to the classpath but made no difference from the look at the stack trace its trying to create a NonHAProxy to connect. This is on a CDH4.3 cluster with the Cloudera recommended way of setting up HA Namenodes.
The text was updated successfully, but these errors were encountered:
Presto plugins are each loaded in a separate classloader. We have a configuration parameter to load Hadoop config files (which unfortunately is only mentioned in the README but not the user manual). Try adding something like this to your etc/catalog/hive.properties (or whatever you named the catalog):
I tried to set it up today and I was greeted with this error when I tried to uses the hive table we have setup:
I tried to add the hadoop config files to the classpath but made no difference from the look at the stack trace its trying to create a NonHAProxy to connect. This is on a CDH4.3 cluster with the Cloudera recommended way of setting up HA Namenodes.
The text was updated successfully, but these errors were encountered: