Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-859

Client jar needs to package commons-collections when running on windows

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.0.0
    • Labels:
      None

      Description

      Error stack trace when run ./sqlline.py on windows

      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)
      

        Attachments

        1. phoenix-859.patch
          2 kB
          Jeffrey Zhong

          Activity

            People

            • Assignee:
              jeffreyz Jeffrey Zhong
              Reporter:
              jeffreyz Jeffrey Zhong
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: