You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2009/06/18 00:56:07 UTC

[jira] Created: (HBASE-1539) prevent aborts due to missing zoo.cfg

prevent aborts due to missing zoo.cfg
-------------------------------------

                 Key: HBASE-1539
                 URL: https://issues.apache.org/jira/browse/HBASE-1539
             Project: Hadoop HBase
          Issue Type: Improvement
    Affects Versions: 0.20.0
            Reporter: Andrew Purtell
            Priority: Minor


If zoo.cfg is missing, client aborts. Fix by including zoo.cfg in generated jar, add to src/test, etc. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HBASE-1539) prevent aborts due to missing zoo.cfg

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack resolved HBASE-1539.
--------------------------

       Resolution: Fixed
    Fix Version/s: 0.20.0

I added a zoo.cfg to src/test and to hbase.jar (we already add hbase-default.xml to our jar) -- see change to build.xml below.

{code}
Index: build.xml
===================================================================
--- build.xml   (revision 785829)
+++ build.xml   (working copy)
@@ -165,6 +165,7 @@
     <jar jarfile="${jarfile}"
         basedir="${build.classes}" >
       <fileset file="${basedir}/conf/hbase-default.xml"/>
+      <fileset file="${basedir}/conf/zoo.cfg"/>
       <zipfileset dir="${build.webapps}" prefix="webapps"/>
                <manifest>
             <attribute name="Main-Class" value="org/apache/hadoop/hbase/mapred/Driver" />
{code}

> prevent aborts due to missing zoo.cfg
> -------------------------------------
>
>                 Key: HBASE-1539
>                 URL: https://issues.apache.org/jira/browse/HBASE-1539
>             Project: Hadoop HBase
>          Issue Type: Improvement
>    Affects Versions: 0.20.0
>            Reporter: Andrew Purtell
>            Priority: Minor
>             Fix For: 0.20.0
>
>
> If zoo.cfg is missing, client aborts. Fix by including zoo.cfg in generated jar, add to src/test, etc. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.