Clojure では、hbase テスト ユーティリティを使用してテスト クラスターを開始する場合、依存関係に次のような注釈を付ける必要があります。
[org.apache.hbase/hbase "0.92.2" :classifier "tests" :scope "test"]
まず、これが何を意味するのかわかりません。leiningens のサンプル project.clj によると
;; Dependencies are listed as [group-id/name version]; in addition
;; to keywords supported by Pomegranate, you can use :native-prefix
;; to specify a prefix. This prefix is used to extract natives in
;; jars that don't adhere to the default "<os>/<arch>/" layout that
;; Leiningen expects.
質問 1: どういう意味ですか?
質問 2: バージョンをアップグレードした場合:
[org.apache.hbase/hbase "0.94.6.1" :classifier "tests" :scope "test"]
次に、ClassNotFoundException を受け取ります
Exception in thread "main" java.lang.ClassNotFoundException: org.apache.hadoop.hbase.HBaseConfiguration
ここで何が起こっていますか?どうすれば修正できますか?