Joe McDonnell created IMPALA-8188:
-------------------------------------
Summary: 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
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)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]