Xiaomeng Zhang has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/14531


Change subject: IMPALA-8065 OSInfo produces somewhat misleading output when 
running in container
......................................................................

IMPALA-8065 OSInfo produces somewhat misleading output when running in container

Original we get /proc/version dispalyed as OS version, while it's
actually kernel version. We should correct it as Kernel version,
and display OS version from /etc/os-release.

Tested locally, the displayed OS Info in localhost:25020 is:
OS version: "Ubuntu 16.04.6 LTS"
Kernel version: Linux version 4.15.0-65-generic (buildd@lcy01-amd64-017)
(gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10))
Clock: clocksource: 'tsc', clockid_t: CLOCK_MONOTONIC

Change-Id: I848c9e53ee4e0bf8ae0874bb6da28e8efa7f7c8a
---
M be/src/util/os-info.cc
M be/src/util/os-info.h
2 files changed, 29 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/31/14531/1
--
To view, visit http://gerrit.cloudera.org:8080/14531
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I848c9e53ee4e0bf8ae0874bb6da28e8efa7f7c8a
Gerrit-Change-Number: 14531
Gerrit-PatchSet: 1
Gerrit-Owner: Xiaomeng Zhang <[email protected]>
Gerrit-Reviewer: Andrew Sherman <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Tim Armstrong <[email protected]>

Reply via email to