You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by Li Yang <li...@apache.org> on 2015/09/28 11:00:33 UTC

kylin.sh can run any main class

I just modified kylin.sh that it can run any main class. E.g.

    $ bin/kylin.sh  org.apache.kylin.job.tools.GridTableHBaseBenchmark

Quite useful when troubleshooting.

Cheers
Yang

Re: kylin.sh can run any main class

Posted by Li Yang <li...@apache.org>.
Good reminder Luke!   :-)

On Wed, Sep 30, 2015 at 10:05 PM, Luke Han <lu...@gmail.com> wrote:

> ...my bad:-)
>
>
> Best Regards!
> ---------------------
>
> Luke Han
>
> On Wed, Sep 30, 2015 at 10:47 AM, Shi, Shaofeng <sh...@ebay.com> wrote:
>
> > it already checks the package name...
> >
> > On 9/29/15, 11:42 PM, "Luke Han" <lu...@gmail.com> wrote:
> >
> > >powerful weapon...
> > >
> > >For security concern, should we add package check to avoid run wrong
> class
> > >which may not from Kylin?
> > >
> > >
> > >
> > >Thanks.
> > >
> > >
> > >Best Regards!
> > >---------------------
> > >
> > >Luke Han
> > >
> > >On Mon, Sep 28, 2015 at 5:00 PM, Li Yang <li...@apache.org> wrote:
> > >
> > >> I just modified kylin.sh that it can run any main class. E.g.
> > >>
> > >>     $ bin/kylin.sh  org.apache.kylin.job.tools.GridTableHBaseBenchmark
> > >>
> > >> Quite useful when troubleshooting.
> > >>
> > >> Cheers
> > >> Yang
> > >>
> >
> >
>

Re: kylin.sh can run any main class

Posted by Luke Han <lu...@gmail.com>.
...my bad:-)


Best Regards!
---------------------

Luke Han

On Wed, Sep 30, 2015 at 10:47 AM, Shi, Shaofeng <sh...@ebay.com> wrote:

> it already checks the package name...
>
> On 9/29/15, 11:42 PM, "Luke Han" <lu...@gmail.com> wrote:
>
> >powerful weapon...
> >
> >For security concern, should we add package check to avoid run wrong class
> >which may not from Kylin?
> >
> >
> >
> >Thanks.
> >
> >
> >Best Regards!
> >---------------------
> >
> >Luke Han
> >
> >On Mon, Sep 28, 2015 at 5:00 PM, Li Yang <li...@apache.org> wrote:
> >
> >> I just modified kylin.sh that it can run any main class. E.g.
> >>
> >>     $ bin/kylin.sh  org.apache.kylin.job.tools.GridTableHBaseBenchmark
> >>
> >> Quite useful when troubleshooting.
> >>
> >> Cheers
> >> Yang
> >>
>
>

Re: kylin.sh can run any main class

Posted by "Shi, Shaofeng" <sh...@ebay.com>.
it already checks the package name...

On 9/29/15, 11:42 PM, "Luke Han" <lu...@gmail.com> wrote:

>powerful weapon...
>
>For security concern, should we add package check to avoid run wrong class
>which may not from Kylin?
>
>
>
>Thanks.
>
>
>Best Regards!
>---------------------
>
>Luke Han
>
>On Mon, Sep 28, 2015 at 5:00 PM, Li Yang <li...@apache.org> wrote:
>
>> I just modified kylin.sh that it can run any main class. E.g.
>>
>>     $ bin/kylin.sh  org.apache.kylin.job.tools.GridTableHBaseBenchmark
>>
>> Quite useful when troubleshooting.
>>
>> Cheers
>> Yang
>>


Re: kylin.sh can run any main class

Posted by Luke Han <lu...@gmail.com>.
powerful weapon...

For security concern, should we add package check to avoid run wrong class
which may not from Kylin?



Thanks.


Best Regards!
---------------------

Luke Han

On Mon, Sep 28, 2015 at 5:00 PM, Li Yang <li...@apache.org> wrote:

> I just modified kylin.sh that it can run any main class. E.g.
>
>     $ bin/kylin.sh  org.apache.kylin.job.tools.GridTableHBaseBenchmark
>
> Quite useful when troubleshooting.
>
> Cheers
> Yang
>