[ 
https://issues.apache.org/jira/browse/PHOENIX-859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeffrey Zhong updated PHOENIX-859:
----------------------------------

    Affects Version/s: 4.0.0

> Client jar needs to package commons-collections when running on windows
> -----------------------------------------------------------------------
>
>                 Key: PHOENIX-859
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-859
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.0.0
>            Reporter: Jeffrey Zhong
>            Assignee: Jeffrey Zhong
>
> Error stack trace when run ./sqlline.py on windows
> {code}
> java.lang.NoClassDefFoundError: 
> org/apache/commons/collections/map/UnmodifiableMap
>         at 
> org.apache.hadoop.conf.Configuration$DeprecationContext.<init>(Configuration.java:394)
>         at 
> org.apache.hadoop.conf.Configuration.<clinit>(Configuration.java:432)
>         at 
> org.apache.phoenix.query.ConfigurationFactory$ConfigurationFactoryImpl.getConfiguration(ConfigurationFacto
> java:41)
>         at 
> org.apache.phoenix.query.QueryServicesOptions.withDefaults(QueryServicesOptions.java:146)
>         at 
> org.apache.phoenix.query.QueryServicesImpl.<init>(QueryServicesImpl.java:34)
>         at 
> org.apache.phoenix.jdbc.PhoenixDriver.getQueryServices(PhoenixDriver.java:93)
>         at 
> org.apache.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(PhoenixDriver.java:109)
>         at 
> org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.connect(PhoenixEmbeddedDriver.java:112)
>         at sqlline.SqlLine$DatabaseConnection.connect(SqlLine.java:4650)
>         at sqlline.SqlLine$DatabaseConnection.getConnection(SqlLine.java:4701)
>         at sqlline.SqlLine$Commands.connect(SqlLine.java:3942)
>         at sqlline.SqlLine$Commands.connect(SqlLine.java:3851)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to