OK. 'load hdfs://hbase/script.hql'
I'll upload a re-generated patch.

On 1/20/08, stack (JIRA) <[EMAIL PROTECTED]> wrote:
>
>    [ 
> https://issues.apache.org/jira/browse/HADOOP-2591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560777#action_12560777
>  ]
>
> stack commented on HADOOP-2591:
> -------------------------------
>
> You have reverted to using the verb START in spite of my suggestions and your 
> agreement a couple of times that LOAD is better.  'Starting' a file doesn't 
> make sense here.  It gives no clue that the object file is read, all hql 
> content is executed/run and then the file is closed.
>
> The help string talks about a 'query file'.  Above I explain why I think its 
> rare it will be queries only.
>
> Does 'load hdfs://hbase/script.hql' work out of interest?  Its not important 
> if it doesn't.
>
> > [HQL] Addition of start command for execute the *.hql query file
> > ----------------------------------------------------------------
> >
> >                 Key: HADOOP-2591
> >                 URL: https://issues.apache.org/jira/browse/HADOOP-2591
> >             Project: Hadoop
> >          Issue Type: New Feature
> >          Components: contrib/hbase
> >    Affects Versions: 0.16.0
> >            Reporter: Edward Yoon
> >            Assignee: Edward Yoon
> >            Priority: Minor
> >             Fix For: 0.17.0
> >
> >         Attachments: 2591.patch, 2591_v01.patch, 2591_v02.patch, 
> > 2591_v03.patch, 2591_v04.patch
> >
> >
> > {code}
> > $ cat queries.hql
> > CREATE TABLE webtable (
> >  contents in_memory max_versions=10 compression=block,
> >  anchor max_length=256 bloomfilter=counting_bloomfilter
> >  vector_size=1000000 num_hash=4);
> > );
> > INSERT INTO webtable (contents, anchor:Hadoop)
> > VALUES ('html content', 'http://hadoop.apache.org')
> > WHERE row='http://www.hadoop.co.kr';
> > ...
> > ----
> > hql> start ./queries.hql;
> > ...
> > hql> desc webtable;
> > ....
> > {code}
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>


-- 
B. Regards,
Edward yoon @ NHN, corp.

Reply via email to