Bala,
It is possible you have a different version of the JDBC driver on your laptop?
In SQuirreL, click on the Drivers tab, select the name you used for the Presto JDBC driver. Right click on the name and select “Modify Driver” from the menu. This will bring up a dialog titled “Change Driver: {driver name}”. Click on the “Extra Class Path” tab within this dialog. Use the “Delete” button to remove all the entries, then use the “Add” button to put in an entry for the newest version of the driver.
It should look something like this when you’re done:
I don’t know what else to suggest. The JDBC driver is the same for Linux and Windows. If it works in one place, and the configuration is the same, then it will work in the other. Since it doesn’t, there must be something different between your two computers. You need to figure out what that difference is.
From: Balaji Krishnan [mailto:bkris...@gmail.com]
Sent: Tuesday, February 28, 2017 6:18 AM
To: Presto
Cc: bkris...@gmail.com; da...@acz.org; Rickman, Brian T
Subject: Re: com.facebook.presto.spi.PrestoException: Unknown transaction ID:
Rick thanks once again for the reply and apologies for the delayed response. I did what you suggested but unfortunately hitting the same issue.
On Friday, 24 February 2017 22:22:15 UTC+8, Rickman, Brian T wrote:
In SQuirreL, click on the Drivers tab, select the name you used for the Presto JDBC driver. Right click on the name and select “Modify Driver” from the menu. This will bring up a dialog titled “Change Driver: {driver name}”. Click on the “Extra Class Path” tab within this dialog. Use the “Delete” button to remove all the entries, then use the “Add” button to put in an entry for the newest version of the driver.
It should look something like this when you’re done:
To unsubscribe from this group and stop receiving emails from it, send an email to presto-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks for your response Piotr. I saw the code was getting it from System.getProperty.
and hence i changed the timezone here..
if i change it back to my timezone (Singapore) then we will get to see the following
--Regards
Balaji Krishnan
To unsubscribe from this group and stop receiving emails from it, send an email to presto-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
----Regards
Balaji Krishnan
You received this message because you are subscribed to the Google Groups "Presto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to presto-users+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Presto" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/presto-users/mNdqBccjbKo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to presto-users+unsubscribe@googlegroups.com.
--Regards
Balaji Krishnan
--
You received this message because you are subscribed to the Google Groups "Presto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to presto-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Presto" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/presto-users/mNdqBccjbKo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to presto-users...@googlegroups.com.
--Regards
Balaji Krishnan
--
You received this message because you are subscribed to the Google Groups "Presto" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to presto-users+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> Regards
>
> Balaji Krishnan
>
> --
> You received this message because you are subscribed to the Google Groups "Presto" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to presto-users+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to a topic in the Google Groups "Presto" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/presto-users/mNdqBccjbKo/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to presto-users+unsubscribe@googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> Regards
>
> Balaji Krishnan
>
> --
> You received this message because you are subscribed to the Google Groups "Presto" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to presto-users+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups "Presto" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to presto-users+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Presto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to presto-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Presto" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/presto-users/mNdqBccjbKo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to presto-users+unsubscribe@googlegroups.com.
jdbc:presto://host:port/catalog/schema;TimeZoneID=Africa/Abidjan;
You can replace “Africa/Abidjan” with any timezone from the list here: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
This is explained in the documentation included with the driver:
TimeZoneID
Default Value |
Data Type |
Required |
None |
String |
No |
Description
This option specifies the local time zone that the driver uses. If this value is not specified, the driver uses the system's current time zone ID.
Valid values for this option are specified in the IANA Time Zone Database. For a complete list of time zones, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
> Regards
>
> Balaji Krishnan
>
> --
> You received this message because you are subscribed to the Google Groups "Presto" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to presto-users...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to a topic in the Google Groups "Presto" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/presto-users/mNdqBccjbKo/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to presto-users...@googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> Regards
>
> Balaji Krishnan
>
> --
> You received this message because you are subscribed to the Google Groups "Presto" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to presto-users...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups "Presto" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to presto-users...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Presto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to presto-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Presto" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/presto-users/mNdqBccjbKo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to presto-users...@googlegroups.com.
For more options, visit
https://groups.google.com/d/optout.
--
Regards
Balaji Krishnan
--
You received this message because you are subscribed to the Google Groups "Presto" group.