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

Xiaomeng Zhang commented on IMPALA-8065:
----------------------------------------

Here is what I found
{code:java}
The /etc/lsb-release file is a file that some, but not all, Linux distributions 
put there for older programs to use. The "lsb" refers to the Linux Standard 
Base, a project working to define a common set of standards for any Linux 
distribution to follow, including things like filesystem layout. However, that 
file, /etc/lsb-release, isn't part of the standard. It's an extra thing that 
some distributions use, but not all.
The /etc/os-release file is the standard, however. Any distribution based on 
systemd, including Red Hat Enterprise Linux, CentOS, Fedora, Gentoo, Debian, 
Mint, Ubuntu, and many others, is required to have that file. Distributions 
that don't use systemd may also have the file.
{code}
I use os-release because in docker, lsb_release command doesn't work.

 

> OSInfo produces somewhat misleading output when running in container
> --------------------------------------------------------------------
>
>                 Key: IMPALA-8065
>                 URL: https://issues.apache.org/jira/browse/IMPALA-8065
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Backend
>    Affects Versions: Impala 3.1.0
>            Reporter: Tim Armstrong
>            Assignee: Xiaomeng Zhang
>            Priority: Minor
>
> It uses /proc/version, which returns the host version. It would be good to 
> also get the version from lsb-release from the Ubuntu container we're running 
> in and disambiguate on the debug page.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to