<commit_before>---
layout: docs
title: Recommendation Quick Start
---

#Upgrade to 0.8.2 

0.8.2 contains HBase and ElasticSearch schema changes from the previous versions. In order to use 0.8.2, you need to first clear them. 
These will clear out all the data in ElasticSearch and HBase, please extra cautious. 

----

# __PRECAUTION: ALL EXISTING DATA WILL BE LOST__

----

**To clear Elasticsearch**

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-delete-index.html
i.e. with elasticsearch running,

```
$ curl -X DELETE http://localhost:9200/_all
```

**To clear HBase**

http://wiki.apache.org/hadoop/Hbase/Shell

```
$ $HBASE_HOME/bin/hbase shell
...
> disable_all '.*'
...
> drop_all '.*'<commit_msg>schema-change: only drop predictionio.* tables<commit_after>---
layout: docs
title: Recommendation Quick Start
---

#Upgrade to 0.8.2 

0.8.2 contains HBase and ElasticSearch schema changes from the previous versions. In order to use 0.8.2, you need to first clear them. 
These will clear out all the data in ElasticSearch and HBase, please extra cautious. 

----

# __PRECAUTION: ALL EXISTING DATA WILL BE LOST__

----

**To clear Elasticsearch**

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-delete-index.html
i.e. with elasticsearch running,

```
$ curl -X DELETE http://localhost:9200/_all
```

**To clear HBase**

http://wiki.apache.org/hadoop/Hbase/Shell

```
$ $HBASE_HOME/bin/hbase shell
...
> disable_all 'predictionio.*'
...
> drop_all 'predictionio.*'
{'fraction_non_alphanumeric': 0.13568166992824526, 'fraction_numerical': 0.016960208741030658, 'mean_word_length': 3.691131498470948, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5921818', 'n_tokens_mistral': 530, 'n_tokens_neox': 503, 'n_words': 152}