falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shwetha GS <shwetha...@inmobi.com>
Subject Re: Hive Table feed replication is not working
Date Wed, 23 Apr 2014 08:39:18 GMT
Hi Sunil,

Looks like an issue if the feed doesn't have timed partitions. Have created
https://issues.apache.org/jira/browse/FALCON-410 to track this

Meanwhile, you can define a feed with timed partitions and it should work.
Example:

<table uri="catalog:default:in_table#ds=${YEAR}-${MONTH}-${DAY}-${HOUR}-${MINUTE}"
/>

Regards,
Shwetha



On Wed, Apr 23, 2014 at 12:59 PM, Sunil N Kumar
<suniln.kumar@impetus.co.in>wrote:

> Hi,
>
> I am trying to replicate Hive table from one cluster to another. But it is
> giving following exception:
> <<< Invocation of Main class completed <<<
>
> Failing Oozie Launcher, Main class
> [org.apache.falcon.retention.FeedEvictor], main() threw exception, null
> java.lang.NullPointerException
>         at
> org.apache.falcon.retention.FeedEvictor.evictTable(FeedEvictor.java:366)
>         at
> org.apache.falcon.retention.FeedEvictor.evict(FeedEvictor.java:141)
>         at
> org.apache.falcon.retention.FeedEvictor.run(FeedEvictor.java:121)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>         at
> org.apache.falcon.retention.FeedEvictor.main(FeedEvictor.java:93)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at
> org.apache.oozie.action.hadoop.LauncherMapper.map(LauncherMapper.java:226)
>         at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:50)
>         at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:430)
>         at org.apache.hadoop.mapred.MapTask.run(MapTask.java:366)
>         at org.apache.hadoop.mapred.Child$4.run(Child.java:255)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAs(Subject.java:415)
>         at
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1190)
>         at org.apache.hadoop.mapred.Child.main(Child.java:249)
>
> Oozie Launcher failed, finishing Hadoop job gracefully
>
>
> Thanks and Regard.
> Sunil Kumar
>
>
> ________________________________
>
>
>
>
>
>
> NOTE: This message may contain information that is confidential,
> proprietary, privileged or otherwise protected by law. The message is
> intended solely for the named addressee. If received in error, please
> destroy and notify the sender. Any use of this email is prohibited when
> received in error. Impetus does not represent, warrant and/or guarantee,
> that the integrity of this communication has been maintained nor that the
> communication is free of errors, virus, interception or interference.
>

-- 
_____________________________________________________________
The information contained in this communication is intended solely for the 
use of the individual or entity to whom it is addressed and others 
authorized to receive it. It may contain confidential or legally privileged 
information. If you are not the intended recipient you are hereby notified 
that any disclosure, copying, distribution or taking any action in reliance 
on the contents of this information is strictly prohibited and may be 
unlawful. If you have received this communication in error, please notify 
us immediately by responding to this email and then delete it from your 
system. The firm is neither liable for the proper and complete transmission 
of the information contained in this communication nor for any delay in its 
receipt.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message