[ 
https://issues.apache.org/jira/browse/IMPALA-8188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe McDonnell resolved IMPALA-8188.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: Impala 3.2.0

> Some SSDs are not properly detected as non-rotational
> -----------------------------------------------------
>
>                 Key: IMPALA-8188
>                 URL: https://issues.apache.org/jira/browse/IMPALA-8188
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Backend
>    Affects Versions: Impala 3.2.0
>            Reporter: Joe McDonnell
>            Assignee: Joe McDonnell
>            Priority: Critical
>             Fix For: Impala 3.2.0
>
>
> Here is an example Impala log:
>  
> {noformat}
> I0211 10:50:40.650727 18344 init.cc:288] Disk Info: 
>   Num disks 2: 
>     nvme0n (rotational=true)
>     nvme0n1p (rotational=true){noformat}
> I logged into an equivalent machine, and the OS sees these as not rotational:
>  
>  
> {noformat}
> # cat /sys/block/nvme0n1/queue/rotational
> 0
> {noformat}
> Device names that end in a number get trimmed (i.e. /dev/sda2 becomes 
> /dev/sda). See 
> [https://github.com/apache/impala/blob/master/be/src/util/disk-info.cc#L73-L74]
> These devices don't follow that pattern, so we don't find the right files. 
> Neither /sys/block/nvme0n nor /sys/block/nvme0n1p exist, so both fall back to 
> being rotational.
>  



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

Reply via email to