Re: swap data in Kudu table

2018-02-23 Thread Boris Tyukin
you are guys are awesome, thanks! Todd, I like ALTER TABLE TBLPROPERTIES idea - will test it next week. Views might work as well but for a number of reasons want to keep it as my last resort :) On Fri, Feb 23, 2018 at 4:32 PM, Todd Lipcon wrote: > A couple other ideas from the Impala side: > >

Re: swap data in Kudu table

2018-02-23 Thread Todd Lipcon
A couple other ideas from the Impala side: - could you use a view and alter the view to point to a different table? Then all readers would be pointed at the view, and security permissions could be on that view rather than the underlying tables? - I think if you use an external table in Impala you

Re: swap data in Kudu table

2018-02-23 Thread Mike Percy
Hi Boris, those are good ideas. Currently Kudu does not have atomic bulk load capabilities or staging abilities. Theoretically renaming a partition atomically shouldn't be that hard to implement, since it's just a master metadata operation which can be done atomically, but it's not yet implemented.

Re: Kudu-help needed

2018-02-23 Thread Mike Percy
Hi Pranab, Sorry for missing your post earlier. To use Kerberos authentication, you will need to kinit to the kdc in the shell before starting the client or use something like the Java Krb5LoginModule