Hi John,

Nice work on the HBase integration adapator.

I downloaded the Hive trunk and applied the
HIVE-705<http://issues.apache.org/jira/browse/HIVE-705>.3.patch,
but when I tried to 'ant package', I get the following error messages
below.  Is there any other settings that is required to build the
hive_hbase_handler.jar file?

Thanks,
Ray du...@sharethis

>> ant package

ivy-retrieve-hadoop-source:
[ivy:retrieve] :: Ivy 2.0.0-rc2 - 20081028224207 ::
http://ant.apache.org/ivy/ ::
:: loading settings :: file = /tmp/hive-trunk/ivy/ivysettings.xml

BUILD FAILED
/tmp/hive-trunk/build.xml:158: The following error occurred while executing
this line:
/tmp/hive-trunk/build.xml:103: The following error occurred while executing
this line:
/tmp/hive-trunk/shims/build.xml:55: The following error occurred while
executing this line:
/tmp/hive-trunk/build-common.xml:177: impossible to configure ivy:settings
with given file: /tmp/hive-trunk/ivy/ivysettings.xml :
java.text.ParseException: failed to load settings from
file:/tmp/hive-trunk/ivy/ivysettings.xml: impossible to set defaultTTL to
eternal on class org.apache.ivy.core.cache.DefaultRepositoryCacheManager

Total time: 0 seconds

>> ant -v package

Caused by: java.lang.IllegalArgumentException: impossible to set defaultTTL
to eternal on class org.apache.ivy.core.cache.DefaultRepositoryCacheManager
        at
org.apache.ivy.util.Configurator.setAttribute(Configurator.java:660)
        at
org.apache.ivy.core.settings.XmlSettingsParser.inConfiguratorStarted(XmlSettingsParser.java:561)
        at
org.apache.ivy.core.settings.XmlSettingsParser.startElement(XmlSettingsParser.java:200)
        at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source)
        at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
        at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:277)
        at
org.apache.ivy.core.settings.XmlSettingsParser.doParse(XmlSettingsParser.java:159)
        ... 65 more
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.apache.ivy.util.Configurator.setAttribute(Configurator.java:658)
        ... 80 more
Caused by: java.lang.IllegalArgumentException: invalid duration 'eternal':
it must match (?:(\d+)d)? ?(?:(\d+)h)? ?(?:(\d+)m)? ?(?:(\d+)s)?
?(?:(\d+)ms)?
        at
org.apache.ivy.core.cache.DefaultRepositoryCacheManager.parseDuration(DefaultRepositoryCacheManager.java:275)
        at
org.apache.ivy.core.cache.DefaultRepositoryCacheManager.setDefaultTTL(DefaultRepositoryCacheManager.java:178)
        ... 85 more

Total time: 0 seconds

On Thu, Mar 4, 2010 at 6:51 PM, John Sichi <[email protected]> wrote:

> Hey folks,
>
> In case you're not following the action over at HIVE-705, we're getting
> close to having HBase integration committed into Hive.  I've written up docs
> here:
>
> http://wiki.apache.org/hadoop/Hive/HBaseIntegration
> http://wiki.apache.org/hadoop/Hive/StorageHandlers
>
> (If you happened to read the first draft of the HBaseIntegration doc a few
> days ago, I've made a lot of updates today to fill out the details on column
> mapping.)
>
> As part of commit, we'll be doing some code reviews within Facebook next
> week and logging a bunch of followup tasks; if you have any comments on the
> approach or implementation, please pile on in JIRA.
>
> I'll be giving this a quick mention at the Hive user's group later this
> month, and then a more detailed presentation at the HBase User Group meeting
> in April.
>
> JVS
>
>

Reply via email to