[ 
https://issues.apache.org/jira/browse/HBASE-20105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16394684#comment-16394684
 ] 

Jean-Marc Spaggiari commented on HBASE-20105:
---------------------------------------------

Did some small changes and tested it locally:
{code:java}
root@hbasetest1:~# hdfs fsck 
/hbase/data/default/t1/1c925d870fcf663dd3f48d31bf2b98d8/f1/f22416c954df4e24b499e5fc707cb029
 -files -blocks -locations

Connecting to namenode via 
http://hbasetest1.distparser.com:50070/fsck?ugi=root&files=1&blocks=1&locations=1&path=%2Fhbase%2Fdata%2Fdefault%2Ft1%2F1c925d870fcf663dd3f48d31bf2b98d8%2Ff1%2Ff22416c954df4e24b499e5fc707cb029
FSCK started by root (auth:SIMPLE) from /192.168.23.51 for path 
/hbase/data/default/t1/1c925d870fcf663dd3f48d31bf2b98d8/f1/f22416c954df4e24b499e5fc707cb029
 at Sun Mar 11 18:44:49 EDT 2018
/hbase/data/default/t1/1c925d870fcf663dd3f48d31bf2b98d8/f1/f22416c954df4e24b499e5fc707cb029
 4908 bytes, 1 block(s): OK
0. BP-2069742952-192.168.23.51-1431229364576:blk_1074774898_1034473 len=4908 
Live_repl=3 
[DatanodeInfoWithStorage[192.168.23.54:50010,DS-6c810995-115c-42cd-af32-c34f5095e45c,SSD],
 
DatanodeInfoWithStorage[192.168.23.52:50010,DS-d4e1790e-b7d3-492f-bb4f-7fb11b7ceff4,SSD],
 
DatanodeInfoWithStorage[192.168.23.53:50010,DS-04dac874-1eaf-43b5-ac1d-2768572b7a36,SSD]]

Status: HEALTHY
Total size:     4908 B
Total dirs:     0
Total files:    1
Total symlinks: 0
Total blocks (validated):       1 (avg. block size 4908 B)
Minimally replicated blocks:    1 (100.0 %)
Over-replicated blocks: 0 (0.0 %)
Under-replicated blocks:        0 (0.0 %)
Mis-replicated blocks:  0 (0.0 %)
Default replication factor:     3
Average block replication:      3.0
Corrupt blocks: 0
Missing replicas:       0 (0.0 %)
Number of data-nodes:   3
Number of racks:        1
FSCK ended at Sun Mar 11 18:44:49 EDT 2018 in 0 milliseconds


The filesystem under path 
'/hbase/data/default/t1/1c925d870fcf663dd3f48d31bf2b98d8/f1/f22416c954df4e24b499e5fc707cb029'
 is HEALTHY
{code}

Sound like it works. Updated patch coming soon.

> Allow flushes to target SSD storage
> -----------------------------------
>
>                 Key: HBASE-20105
>                 URL: https://issues.apache.org/jira/browse/HBASE-20105
>             Project: HBase
>          Issue Type: New Feature
>          Components: Performance, regionserver
>    Affects Versions: hbase-2.0.0-alpha-4
>            Reporter: Jean-Marc Spaggiari
>            Assignee: Jean-Marc Spaggiari
>            Priority: Major
>         Attachments: HBASE-20105-v0.patch, HBASE-20105-v1.patch, 
> HBASE-20105-v2.patch, HBASE-20105-v3.patch, HBASE-20105-v4.patch
>
>
> On heavy writes usecases, flushes are compactes together pretty quickly. 
> Allowing flushes to go on SSD allows faster flush and faster first 
> compactions. Subsequent compactions going on regular storage.
>  
> I will be interesting to have an option to target SSD for flushes.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to