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

Qifan Chen commented on IMPALA-10007:
-------------------------------------

Here are the steps needed to recreate the gdb limitation issue. 

 
 # Modify C++ test program 
$IMPALA_HOME/be/src/scheduling/admission-controller-test.cc with the "hook", 
embedding the "hook" code somewhere in one of the Test method, such as 
DedicatedCoordAdmissionChecks.
 # const char* hook = "/home/qchen/hook";
FILE* fd = nullptr;
bool echo = false;
while ( !(fd = fopen(hook, "r")) ) { 
 if ( !echo ) { 
 std::cout << "please attach gdb to " << getpid() << ", then touch " << hook << 
endl;
 echo = true;
 }
 sleep(2);
}
fclose(fd);
 # Rebuild the test program: ${IMPALA_HOME}/buildall.sh -skiptests -noclean 
-ninja
 # cd /home/qchen/Impala/be/build/latest/scheduling
 # sh scheduling/admission-controller-test
 # At the prompt, attach the gdb in toolchain

[15:59:31 Impala] gdb -pid 2476123
GNU gdb (GDB) 7.9.1
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
/home/qchen/.gdbinit:2: Error in sourced command file:
Target 'None' cannot support this command.
Attaching to process 2476123
Reading symbols from 
/home/qchen/Impala/be/build/debug/service/unifiedbetests...done.
Reading symbols from 
/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjsig.so...BFD: BFD 
(GNU Binutils) 2.25.51 internal error, aborting at elf64-x86-64.c line 5583 in 
elf_x86_64_get_plt_sym_val

BFD: Please report this bug.

 

> Impala development environment does not support Ubuntu 20.4
> -----------------------------------------------------------
>
>                 Key: IMPALA-10007
>                 URL: https://issues.apache.org/jira/browse/IMPALA-10007
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Infrastructure
>            Reporter: Qifan Chen
>            Assignee: Qifan Chen
>            Priority: Minor
>             Fix For: Impala 4.0
>
>
> The Impala development environment supports Ubuntu up to 18.4.  When trying 
> the environment on Ubuntu 20.4, one can get the following errors.
>  
> From ${IMPALA_HOME}/buildall.sh:
> Exception: Could not find package label for OS version: ubuntu20.04.
>  
>  



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to