Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
Impala 3.2.0
-
None
-
ghx-label-5
Description
Here is an example Impala log:
I0211 10:50:40.650727 18344 init.cc:288] Disk Info: Num disks 2: nvme0n (rotational=true) nvme0n1p (rotational=true)
I logged into an equivalent machine, and the OS sees these as not rotational:
# cat /sys/block/nvme0n1/queue/rotational 0
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.
Attachments
Issue Links
- is related to
-
IMPALA-7138 Fix detection and handling of Device Mapper volumes
- Resolved