the problem looks like the strict check introduced a few month ago by presto
throws exception when unrecognized properties are added, and default.url is
unrecognized by presto
prestodb/presto
|
|
|
| | |
|
|
|
| |
prestodb/presto
presto - Distributed SQL query engine for big data
|
|
|
On Wednesday, November 1, 2017, 2:31:04 AM PDT, David Howell
<[email protected]> wrote:
#yiv9822418077 #yiv9822418077 -- _filtered #yiv9822418077
{font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}#yiv9822418077
#yiv9822418077 p.yiv9822418077MsoNormal, #yiv9822418077
li.yiv9822418077MsoNormal, #yiv9822418077 div.yiv9822418077MsoNormal
{margin:0cm;margin-bottom:.0001pt;font-size:11.0pt;}#yiv9822418077 h2
{margin-right:0cm;margin-left:0cm;font-size:18.0pt;}#yiv9822418077 a:link,
#yiv9822418077 span.yiv9822418077MsoHyperlink
{color:blue;text-decoration:underline;}#yiv9822418077 a:visited, #yiv9822418077
span.yiv9822418077MsoHyperlinkFollowed
{color:#954F72;text-decoration:underline;}#yiv9822418077 pre
{margin:0cm;margin-bottom:.0001pt;font-size:10.0pt;}#yiv9822418077
span.yiv9822418077Heading2Char {font-weight:bold;}#yiv9822418077
span.yiv9822418077HTMLPreformattedChar {}#yiv9822418077
p.yiv9822418077ydpa2ef8223card-description, #yiv9822418077
li.yiv9822418077ydpa2ef8223card-description, #yiv9822418077
div.yiv9822418077ydpa2ef8223card-description
{margin-right:0cm;margin-left:0cm;font-size:11.0pt;}#yiv9822418077
.yiv9822418077MsoChpDefault {} _filtered #yiv9822418077 {margin:72.0pt 72.0pt
72.0pt 72.0pt;}#yiv9822418077 div.yiv9822418077WordSection1 {}#yiv9822418077
I’ve done this previously, my answer
herehttps://stackoverflow.com/a/44238195/1335793
I was using an older version though.
Did you try appending catalog, or a catalog & schema to the url?
Error message suggests problem is with the “default.url” in the interpreter
settings.
On another note, AWS has released Athena (managed version of presto) so when
it's available in my region I will look at using that.
Dave
From: Richard Xin
Sent: Wednesday, 1 November 2017 9:35 AM
To: Users
Subject: Zeppelin 0.7.2 integration with Presto 0.184
I am not sure Zeppelin 0.7.2 is compatible with Presto 0.184here are the steps:
1. create new presto interpreter
2. %presto
show tables
java.sql.SQLException: Unrecognized connection property 'url'at
com.facebook.presto.jdbc.PrestoDriverUri.validateConnectionProperties(PrestoDriverUri.java:292)at
com.facebook.presto.jdbc.PrestoDriverUri.<init>(PrestoDriverUri.java:89)at
com.facebook.presto.jdbc.PrestoDriverUri.<init>(PrestoDriverUri.java:79)at
com.facebook.presto.jdbc.PrestoDriver.connect(PrestoDriver.java:86)at
java.sql.DriverManager.getConnection(DriverManager.java:664)at
java.sql.DriverManager.getConnection(DriverManager.java:208)at
org.apache.commons.dbcp2.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:79)at
org.apache.commons.dbcp2.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:205)at
org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:836)at
org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:434)at
org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:361)at
org.apache.commons.dbcp2.PoolingDriver.connect(PoolingDriver.java:129)
...
it seems that presto has some strict property name checking, I believe it's not
uncommon that people want to use presto in Zeppelin, is there any work-around?
I am on AWS EMR
related presto code:prestodb/presto
|
|
|
| | |
|
|
|
| |
prestodb/presto
presto - Distributed SQL query engine for big data
|
|
|