HBASE-8242 Unable to start HBase 0.95.0RC0 out of the box because of ZK trying to access /var/folders/
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1463782 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b2d42190b2
commit
92e2089d65
|
@ -38,7 +38,6 @@
|
|||
<includes>
|
||||
<include>hbase-default.xml</include>
|
||||
</includes>
|
||||
<filtering>true</filtering>
|
||||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
|
@ -60,6 +59,23 @@
|
|||
<plugin>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>process-resources</phase>
|
||||
<configuration>
|
||||
<target>
|
||||
<replace file="${project.build.outputDirectory}/hbase-default.xml"
|
||||
token="@@@VERSION@@@" value="${project.version}" />
|
||||
<mkdir dir="${project.build.directory}/nativelib"/>
|
||||
<exec executable="tar" dir="${project.build.directory}/nativelib" failonerror="false">
|
||||
<arg value="xf"/>
|
||||
<arg value="hadoop-snappy-nativelibs.tar"/>
|
||||
</exec>
|
||||
</target>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<!-- Generate web app sources -->
|
||||
<execution>
|
||||
<id>generate</id>
|
||||
|
|
|
@ -795,7 +795,7 @@
|
|||
|
||||
<property skipInDoc="true">
|
||||
<name>hbase.defaults.for.version</name>
|
||||
<value>${pom.version}</value>
|
||||
<value>@@@VERSION@@@</value>
|
||||
<description>
|
||||
This defaults file was compiled for version ${pom.version}. This variable is used
|
||||
to make sure that a user doesn't have an old version of hbase-default.xml on the
|
||||
|
|
Loading…
Reference in New Issue