Hi,

- As there is no camel hive component, the issue cannot be assigned to
something which does not exist
- As you are using the camel-sql (= Spring JDBC framework), can you please
describe the problem, error and how to reproduce

Regards,

On Wed, Nov 19, 2014 at 5:39 AM, smilevasu6 <srinivas.thu...@gmail.com>
wrote:

> Hi,
>
> Again there is problem with camel hive.
>
> As i am able to connect to hive and able fetch the data from hive table.
>
> Now i want to load the data in another hive table.
>
> when i try to do the same some times i am getting invalid path and some
> times there is no errors but data is not moving to target hive table.
>
> Please help me
>
> Here is my router,
>
> from("timer://foo?period=60000").
>
>                         setBody(constant("select * from default.emp where
> salary > 5000"))
>                         .to("jdbc:fromdatasource?resetAutoCommit=false")
>                         .convertBodyTo(String.class)
>                     .to("file:/home/cloudera/Desktop/Sri")
>                     .end();
>
>                 from("file:/home/cloudera/Desktop/Sri").
>                         setBody(constant("LOAD DATA LOCAL INPATH
> '/home/cloudera/Desktop/Sri'
> OVERWRITE INTO TABLE default.emp_h"))
>                         .to("jdbc:todatasource?resetAutoCommit=false")
>                         .convertBodyTo(String.class)
>                     .end();
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-Hive-tp5759189p5759284.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Charles Moulliard
Apache Committer / Architect @RedHat
Twitter : @cmoulliard | Blog :  http://cmoulliard.github.io

Reply via email to