You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Sznajder ForMailingList <bs...@gmail.com> on 2013/06/24 15:43:18 UTC
Cleaning the database content
Hi,
how do we remove all the content from the database in Nutch 2.2?
Thanks
Benjamin
Re: Cleaning the database content
Posted by Jamshaid Ashraf <ja...@gmail.com>.
Benjamin,
In order to remove all content from HBase you need to execute following 3
commands in hbase shell:
disable 'webpage'
drop 'webpage'
major_compact ".META."
For further reference please follow the link below:
http://wiki.apache.org/hadoop/Hbase/Shell
Regards,
Jamshaid
On Tue, Jun 25, 2013 at 5:14 PM, Sznajder ForMailingList <
bs4mailinglist@gmail.com> wrote:
> Hi
>
> I am using HBASE
>
> Best regards
> Benjamin
>
>
> On Mon, Jun 24, 2013 at 5:01 PM, Jamshaid Ashraf <jamshaid.qe@gmail.com
> >wrote:
>
> > Bejamin,
> >
> > Which backend you are using with Nutch 2.x?
> >
> > Regards,
> > Jamshaid
> >
> >
> > On Mon, Jun 24, 2013 at 6:43 PM, Sznajder ForMailingList <
> > bs4mailinglist@gmail.com> wrote:
> >
> > > Hi,
> > >
> > > how do we remove all the content from the database in Nutch 2.2?
> > >
> > > Thanks
> > >
> > > Benjamin
> > >
> >
>
Re: Cleaning the database content
Posted by "H. Coskun Gunduz" <co...@agmlab.com>.
Hi Benjamin,
First enter to the hbase shell by
$ cd path_to_your_hbase/bin
$ ./hbase shell
then disable and drop your table:
> disable 'table_name'
> drop 'table_name'
Best regards,
coskun...
On 06/25/2013 03:14 PM, Sznajder ForMailingList wrote:
> Hi
>
> I am using HBASE
>
> Best regards
> Benjamin
>
>
> On Mon, Jun 24, 2013 at 5:01 PM, Jamshaid Ashraf <ja...@gmail.com>wrote:
>
>> Bejamin,
>>
>> Which backend you are using with Nutch 2.x?
>>
>> Regards,
>> Jamshaid
>>
>>
>> On Mon, Jun 24, 2013 at 6:43 PM, Sznajder ForMailingList <
>> bs4mailinglist@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> how do we remove all the content from the database in Nutch 2.2?
>>>
>>> Thanks
>>>
>>> Benjamin
>>>
Re: Cleaning the database content
Posted by Sznajder ForMailingList <bs...@gmail.com>.
Hi
I am using HBASE
Best regards
Benjamin
On Mon, Jun 24, 2013 at 5:01 PM, Jamshaid Ashraf <ja...@gmail.com>wrote:
> Bejamin,
>
> Which backend you are using with Nutch 2.x?
>
> Regards,
> Jamshaid
>
>
> On Mon, Jun 24, 2013 at 6:43 PM, Sznajder ForMailingList <
> bs4mailinglist@gmail.com> wrote:
>
> > Hi,
> >
> > how do we remove all the content from the database in Nutch 2.2?
> >
> > Thanks
> >
> > Benjamin
> >
>
Re: Cleaning the database content
Posted by Jamshaid Ashraf <ja...@gmail.com>.
Bejamin,
Which backend you are using with Nutch 2.x?
Regards,
Jamshaid
On Mon, Jun 24, 2013 at 6:43 PM, Sznajder ForMailingList <
bs4mailinglist@gmail.com> wrote:
> Hi,
>
> how do we remove all the content from the database in Nutch 2.2?
>
> Thanks
>
> Benjamin
>