Comments (10)
thanks.
from hindex.
By default it it will build with hadoop 2. So need not mention hadoop.profile=2.0 which is not there
Just try mvn clean install -DskipTests -Passembly:single to get tar.gz
If it works for you just close it.
Thanks.
from hindex.
main:
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] HBase .............................................. SUCCESS [ 2.418 s]
[INFO] HBase - Common ..................................... FAILURE [ 0.683 s]
[INFO] HBase - Protocol ................................... SKIPPED
[INFO] HBase - Client ..................................... SKIPPED
[INFO] HBase - Hadoop Compatibility ....................... SKIPPED
[INFO] HBase - Hadoop Two Compatibility ................... SKIPPED
[INFO] HBase - Prefix Tree ................................ SKIPPED
[INFO] HBase - Server ..................................... SKIPPED
[INFO] HBase - Testing Util ............................... SKIPPED
[INFO] HBase - Thrift ..................................... SKIPPED
[INFO] HBase - Shell ...................................... SKIPPED
[INFO] HBase - Integration Tests .......................... SKIPPED
[INFO] HBase - Examples ................................... SKIPPED
[INFO] HBase - Secondary Index ............................ SKIPPED
[INFO] HBase - Assembly ................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.622 s
[INFO] Finished at: 2014-10-29T20:23:12+08:00
[INFO] Final Memory: 25M/59M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.6:
run (generate) on project hbase-common: An Ant BuildException has occured: Execu
te failed: java.io.IOException: Cannot run program "bash" (in directory "D:\hind
ex-hbase-0.98\hbase-common"): CreateProcess error=2, ????????? -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
xception
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :hbase-common
does it failed because of JDK1.7?
from hindex.
no. Are you trying to build in windows or linux?
from hindex.
oh~~The bad network caused it!
Now i have built success,and each subproject has a "target",and there is no "lib" under project root folder,
do i need copy *.jar to lib ,or just deploy it when i build success?
from hindex.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] HBase .............................................. SUCCESS [ 3.817 s]
[INFO] HBase - Common ..................................... SUCCESS [04:51 min]
[INFO] HBase - Protocol ................................... SUCCESS [ 11.046 s]
[INFO] HBase - Client ..................................... SUCCESS [ 28.157 s]
[INFO] HBase - Hadoop Compatibility ....................... SUCCESS [ 0.333 s]
[INFO] HBase - Hadoop Two Compatibility ................... SUCCESS [ 26.262 s]
[INFO] HBase - Prefix Tree ................................ SUCCESS [ 2.326 s]
[INFO] HBase - Server ..................................... SUCCESS [03:39 min]
[INFO] HBase - Testing Util ............................... SUCCESS [ 13.042 s]
[INFO] HBase - Thrift ..................................... SUCCESS [ 57.344 s]
[INFO] HBase - Shell ...................................... SUCCESS [07:08 min]
[INFO] HBase - Integration Tests .......................... SUCCESS [ 1.806 s]
[INFO] HBase - Examples ................................... SUCCESS [ 1.913 s]
[INFO] HBase - Secondary Index ............................ SUCCESS [ 14.094 s]
[INFO] HBase - Assembly ................................... SUCCESS [ 2.774 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18:24 min
[INFO] Finished at: 2014-10-30T11:26:09+08:00
[INFO] Final Memory: 59M/305M
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "assembly:single" could not be activated because it does not exist.
hadoop@namenode:~/hindex-hbase-0.98$ ll
总用量 336
drwxr-xr-x 22 hadoop hadoop 4096 10月 30 11:07 ./
drwxr-xr-x 37 hadoop hadoop 4096 10月 30 10:37 ../
-rwxr-xr-x 1 hadoop hadoop 395 10月 29 14:11 .arcconfig*
drwxr-xr-x 4 hadoop hadoop 4096 10月 29 14:11 bin/
-rwxr-xr-x 1 hadoop hadoop 127483 10月 29 14:11 CHANGES.txt*
drwxr-xr-x 2 hadoop hadoop 4096 10月 29 14:11 conf/
drwxr-xr-x 3 hadoop hadoop 4096 10月 29 14:11 dev-support/
-rwxr-xr-x 1 hadoop hadoop 1015 10月 29 14:11 .gitattributes*
-rwxr-xr-x 1 hadoop hadoop 147 10月 29 14:11 .gitignore*
drwxr-xr-x 4 hadoop hadoop 4096 10月 30 11:26 hbase-assembly/
drwxr-xr-x 4 hadoop hadoop 4096 10月 30 11:13 hbase-client/
drwxr-xr-x 4 hadoop hadoop 4096 10月 30 11:09 hbase-common/
drwxr-xr-x 4 hadoop hadoop 4096 10月 30 11:25 hbase-examples/
drwxr-xr-x 3 hadoop hadoop 4096 10月 29 14:11 hbase-hadoop1-compat/
drwxr-xr-x 4 hadoop hadoop 4096 10月 30 11:13 hbase-hadoop2-compat/
drwxr-xr-x 4 hadoop hadoop 4096 10月 30 11:13 hbase-hadoop-compat/
drwxr-xr-x 4 hadoop hadoop 4096 10月 30 11:25 hbase-it/
drwxr-xr-x 4 hadoop hadoop 4096 10月 30 11:13 hbase-prefix-tree/
drwxr-xr-x 4 hadoop hadoop 4096 10月 30 11:12 hbase-protocol/
drwxr-xr-x 4 hadoop hadoop 4096 10月 30 11:26 hbase-secondaryindex/
drwxr-xr-x 4 hadoop hadoop 4096 10月 30 11:16 hbase-server/
drwxr-xr-x 4 hadoop hadoop 4096 10月 30 11:25 hbase-shell/
drwxr-xr-x 3 hadoop hadoop 4096 10月 30 11:17 hbase-testing-util/
drwxr-xr-x 4 hadoop hadoop 4096 10月 30 11:18 hbase-thrift/
-rwxr-xr-x 1 hadoop hadoop 11358 10月 29 14:11 LICENSE.txt*
-rwxr-xr-x 1 hadoop hadoop 897 10月 29 14:11 NOTICE.txt*
-rwxr-xr-x 1 hadoop hadoop 78678 10月 29 14:11 pom.xml*
-rwxr-xr-x 1 hadoop hadoop 5466 10月 29 14:11 README.md*
-rwxr-xr-x 1 hadoop hadoop 1377 10月 29 14:11 README.txt*
drwxr-xr-x 3 hadoop hadoop 4096 10月 29 14:11 src/
drwxrwxr-x 3 hadoop hadoop 4096 10月 30 11:26 target/
hadoop@namenode:/hindex-hbase-0.98$ cd target//hindex-hbase-0.98/target$ ll
hadoop@namenode:
总用量 32
drwxrwxr-x 3 hadoop hadoop 4096 10月 30 11:26 ./
drwxr-xr-x 22 hadoop hadoop 4096 10月 30 11:07 ../
-rw-rw-r-- 1 hadoop hadoop 10499 10月 30 11:26 cached_classpath.txt
-rw-rw-r-- 1 hadoop hadoop 4003 10月 30 11:07 hbase-0.98.3-site.xml
drwxrwxr-x 3 hadoop hadoop 4096 10月 30 11:07 maven-shared-archive-resources/
-rw-rw-r-- 1 hadoop hadoop 30 10月 30 11:07 .plxarc
there is no "lib" in the folder.and how to deploy hindex-0.98?
thank you , @chrajeshbabu @jyothi-mandava
from hindex.
In hbase-aseembly/target you should get tar.gz
from hindex.
yeah, after decompress the tar.gz, the folder total 70.3 MB,and files as follows:
hadoop@namenode:~/hindex-hbase-0.98/hbase-assembly/target/hbase-0.98.3$ ll
总用量 172
drwxrwxr-x 6 hadoop hadoop 4096 10月 30 12:27 ./
drwxrwxr-x 5 hadoop hadoop 4096 10月 30 12:27 ../
drwxr-xr-x 4 hadoop hadoop 4096 10月 29 14:11 bin/
-rw-r--r-- 1 hadoop hadoop 127483 10月 29 14:11 CHANGES.txt
drwxr-xr-x 2 hadoop hadoop 4096 10月 29 14:11 conf/
drwxr-xr-x 7 hadoop hadoop 4096 10月 30 12:25 hbase-webapps/
drwxrwxr-x 3 hadoop hadoop 4096 10月 30 12:27 lib/
-rw-r--r-- 1 hadoop hadoop 11358 10月 29 14:11 LICENSE.txt
-rw-r--r-- 1 hadoop hadoop 897 10月 29 14:11 NOTICE.txt
-rw-r--r-- 1 hadoop hadoop 1377 10月 29 14:11 README.txt
there is no "secondaryindex" and "docs" folder such as hindex-0.94,is this correct?
from hindex.
Now secondary index is submodule in the proble so you can find hbase-secondaryindex-0.98.3 in lib folder.
Just FYI, there are some configuration changes and client side changes required for 0.98 which are not changed in the document.
See TestIndexRegionObserver#testMultipleIndicesOnUniqueColumns to check how to create indexes from client.
and here are the server side configurations
<property>
<name>hbase.coprocessor.master.classes</name>
<value>org.apache.hadoop.hbase.index.coprocessor.master.IndexMasterObserver</value>
</property>
<property>
<name>hbase.coprocessor.region.classes</name>
<value>org.apache.hadoop.hbase.index.coprocessor.regionserver.IndexRegionObserver</value>
</property>
<property>
<name>hbase.coprocessor.wal.classes</name>
<value>org.apache.hadoop.hbase.index.coprocessor.wal.IndexWALObserver</value>
</property>
<property>
<name>hbase.use.secondary.index</name>
<value>true</value>
</property>
<property>
<name>hbase.master.loadbalancer.class</name>
<value>org.apache.hadoop.hbase.index.SecIndexLoadBalancer</value>
</property>
Thanks.
from hindex.
got it,
thank you very much.
from hindex.
Related Issues (20)
- hindex write issues HOT 7
- Support secure access to the index tables HOT 2
- migrate hindex to hbase 0.96 or higher HOT 5
- deadlock in put operation HOT 3
- issues in put operation HOT 10
- how to use the index? HOT 8
- Error when compile with maven.
- How to use hindex for scanning data? HOT 20
- Steps to implement hindex to my hbase cluster HOT 6
- is there any new release based on hbase0.98.1+? HOT 3
- Indexing arbitrary column qualifier HOT 4
- Pending items in Arbitrary index feature
- Unify index details validation in preCreateTable and preModifyTable to allow proper indexes
- To determine the split threshold
- Perfomance about hindex in range search
- No compile document? HOT 3
- does hindex only support hbase 0.94.8?
- Your project Huawei-Hadoop hindex is using buggy third-party libraries [WARNING]
- 请求项目如何启动?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hindex.