phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Istvan Toth (Jira)" <j...@apache.org>
Subject [jira] [Assigned] (OMID-212) Source release does not add hbase-tools jar when running omid.sh
Date Tue, 24 Aug 2021 12:09:00 GMT

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

Istvan Toth reassigned OMID-212:
--------------------------------

    Assignee: Istvan Toth

> Source release does not add hbase-tools jar when running omid.sh
> ----------------------------------------------------------------
>
>                 Key: OMID-212
>                 URL: https://issues.apache.org/jira/browse/OMID-212
>             Project: Phoenix Omid
>          Issue Type: Bug
>    Affects Versions: 1.0.2
>            Reporter: Peter Somogyi
>            Assignee: Istvan Toth
>            Priority: Major
>
> After building the source release with {{mvn clean install -Phbase-2 -DskipTests}} and
running {{omid.sh create-hbase-commit-table}} the org.apache.omid.tools.hbase.OmidTableManager
class is missing from the classpath.
> Java call:
> {noformat}
> + exec java -cp '../conf:/opt/hbase/conf:/opt/hbase/conf:../target/omid-tso-server-hbase2.x-1.0.2-tests.jar:../target/omid-tso-server-hbase2.x-1.0.2.jar:../omid-tso*.jar:../lib/activation-1.1.jar:../lib/aopalliance-1.0.jar:../lib/aopalliance-repackaged-2.5.0-b32.jar:../lib/apacheds-i18n-2.0.0-M15.jar:../lib/apacheds-kerberos-codec-2.0.0-M15.jar:../lib/api-asn1-api-1.0.0-M20.jar:../lib/api-util-1.0.0-M20.jar:../lib/asm-3.1.jar:../lib/audience-annotations-0.5.0.jar:../lib/avro-1.7.4.jar:../lib/commons-beanutils-1.9.4.jar:../lib/commons-cli-1.2.jar:../lib/commons-codec-1.10.jar:../lib/commons-collections-3.2.2.jar:../lib/commons-compress-1.4.1.jar:../lib/commons-configuration-1.10.jar:../lib/commons-crypto-1.0.0.jar:../lib/commons-daemon-1.0.10.jar:../lib/commons-httpclient-3.1.jar:../lib/commons-io-2.4.jar:../lib/commons-lang-2.6.jar:../lib/commons-lang3-3.6.jar:../lib/commons-logging-1.1.1.jar:../lib/commons-math3-3.1.1.jar:../lib/commons-net-3.1.jar:../lib/commons-pool2-2.4.2.jar:../lib/curator-client-2.13.0.jar:../lib/curator-framework-2.13.0.jar:../lib/curator-recipes-2.13.0.jar:../lib/disruptor-3.2.0.jar:../lib/findbugs-annotations-1.3.9-1.jar:../lib/gson-2.2.4.jar:../lib/guava-16.0.1.jar:../lib/guice-3.0.jar:../lib/guice-servlet-3.0.jar:../lib/hadoop-annotations-2.7.4.jar:../lib/hadoop-auth-2.7.4.jar:../lib/hadoop-client-2.7.4.jar:../lib/hadoop-common-2.7.4.jar:../lib/hadoop-distcp-2.7.4.jar:../lib/hadoop-hdfs-2.7.4.jar:../lib/hadoop-mapreduce-client-app-2.7.4.jar:../lib/hadoop-mapreduce-client-common-2.7.4.jar:../lib/hadoop-mapreduce-client-core-2.7.4.jar:../lib/hadoop-mapreduce-client-jobclient-2.7.4.jar:../lib/hadoop-mapreduce-client-shuffle-2.7.4.jar:../lib/hadoop-yarn-api-2.7.4.jar:../lib/hadoop-yarn-client-2.7.4.jar:../lib/hadoop-yarn-common-2.7.4.jar:../lib/hadoop-yarn-server-common-2.7.4.jar:../lib/hadoop-yarn-server-nodemanager-2.7.4.jar:../lib/hbase-client-2.0.1.jar:../lib/hbase-common-2.0.1-tests.jar:../lib/hbase-common-2.0.1.jar:../lib/hbase-endpoint-2.0.1.jar:../lib/hbase-hadoop-compat-2.0.1.jar:../lib/hbase-hadoop2-compat-2.0.1.jar:../lib/hbase-http-2.0.1.jar:../lib/hbase-mapreduce-2.0.1.jar:../lib/hbase-metrics-2.0.1.jar:../lib/hbase-metrics-api-2.0.1.jar:../lib/hbase-procedure-2.0.1.jar:../lib/hbase-protocol-2.0.1.jar:../lib/hbase-protocol-shaded-2.0.1.jar:../lib/hbase-replication-2.0.1.jar:../lib/hbase-server-2.0.1.jar:../lib/hbase-shaded-miscellaneous-2.1.0.jar:../lib/hbase-shaded-netty-2.1.0.jar:../lib/hbase-shaded-protobuf-2.1.0.jar:../lib/hbase-zookeeper-2.0.1.jar:../lib/hk2-api-2.5.0-b32.jar:../lib/hk2-locator-2.5.0-b32.jar:../lib/hk2-utils-2.5.0-b32.jar:../lib/htrace-core-3.2.0-incubating.jar:../lib/htrace-core4-4.2.0-incubating.jar:../lib/httpclient-4.2.5.jar:../lib/httpcore-4.2.4.jar:../lib/jackson-annotations-2.9.0.jar:../lib/jackson-core-2.9.2.jar:../lib/jackson-core-asl-1.9.13.jar:../lib/jackson-databind-2.9.2.jar:../lib/jackson-jaxrs-1.9.13.jar:../lib/jackson-mapper-asl-1.9.13.jar:../lib/jackson-xc-1.9.13.jar:../lib/jamon-runtime-2.4.1.jar:../lib/javassist-3.18.1-GA.jar:../lib/javax.annotation-api-1.2.jar:../lib/javax.el-3.0.1-b12.jar:../lib/javax.inject-1.jar:../lib/javax.inject-2.5.0-b32.jar:../lib/javax.servlet-api-3.1.0.jar:../lib/javax.servlet.jsp-2.3.2.jar:../lib/javax.servlet.jsp-api-2.3.1.jar:../lib/javax.ws.rs-api-2.0.1.jar:../lib/jaxb-api-2.2.2.jar:../lib/jaxb-impl-2.2.3-1.jar:../lib/jcodings-1.0.18.jar:../lib/jersey-client-1.9.jar:../lib/jersey-client-2.25.1.jar:../lib/jersey-common-2.25.1.jar:../lib/jersey-container-servlet-core-2.25.1.jar:../lib/jersey-core-1.9.jar:../lib/jersey-guava-2.25.1.jar:../lib/jersey-guice-1.9.jar:../lib/jersey-json-1.9.jar:../lib/jersey-media-jaxb-2.25.1.jar:../lib/jersey-server-1.9.jar:../lib/jersey-server-2.25.1.jar:../lib/jettison-1.3.8.jar:../lib/jetty-6.1.26.jar:../lib/jetty-http-9.3.19.v20170502.jar:../lib/jetty-io-9.3.19.v20170502.jar:../lib/jetty-security-9.3.19.v20170502.jar:../lib/jetty-server-9.3.19.v20170502.jar:../lib/jetty-servlet-9.3.19.v20170502.jar:../lib/jetty-sslengine-6.1.26.jar:../lib/jetty-util-6.1.26.jar:../lib/jetty-util-9.3.19.v20170502.jar:../lib/jetty-util-ajax-9.3.19.v20170502.jar:../lib/jetty-webapp-9.3.19.v20170502.jar:../lib/jetty-xml-9.3.19.v20170502.jar:../lib/joni-2.1.11.jar:../lib/jsch-0.1.54.jar:../lib/jsr305-3.0.1.jar:../lib/leveldbjni-all-1.8.jar:../lib/log4j-1.2.17.jar:../lib/metrics-core-3.0.1.jar:../lib/metrics-core-3.2.1.jar:../lib/metrics-graphite-3.0.1.jar:../lib/netty-3.2.6.Final.jar:../lib/netty-3.6.2.Final.jar:../lib/netty-all-4.0.23.Final.jar:../lib/omid-codahale-metrics-1.0.2.jar:../lib/omid-commit-table-1.0.2.jar:../lib/omid-common-1.0.2.jar:../lib/omid-hbase-commit-table-hbase2.x-1.0.2.jar:../lib/omid-hbase-common-hbase2.x-1.0.2.jar:../lib/omid-hbase-shims-hbase2.x-1.0.2.jar:../lib/omid-metrics-1.0.2.jar:../lib/omid-statemachine-1.0.2.jar:../lib/omid-timestamp-storage-hbase2.x-1.0.2.jar:../lib/omid-transaction-client-1.0.2.jar:../lib/osgi-resource-locator-1.0.1.jar:../lib/paranamer-2.3.jar:../lib/phoenix-shaded-guava-1.0.0.jar:../lib/protobuf-java-2.5.0.jar:../lib/servlet-api-2.5.jar:../lib/slf4j-api-1.7.7.jar:../lib/slf4j-log4j12-1.7.7.jar:../lib/snakeyaml-1.11.jar:../lib/snappy-java-1.0.4.1.jar:../lib/stax-api-1.0-2.jar:../lib/validation-api-1.1.0.Final.jar:../lib/xmlenc-0.52.jar:../lib/xz-1.0.jar:../lib/zookeeper-3.4.10.jar'
org.apache.omid.tools.hbase.OmidTableManager commit-table
> Error: Could not find or load main class org.apache.omid.tools.hbase.OmidTableManager
> {noformat}
> When using the created tarball (tso-server/target/omid-tso-server-hbase2.x-1.0.2-bin.tar.gz)
the command succeeds because the lib directory contains the omid-hbase-tools-hbase2.x-1.0.2.jar.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message