You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hawq.apache.org by janebeckman <gi...@git.apache.org> on 2017/09/26 00:36:59 UTC

[GitHub] incubator-hawq-docs pull request #123: HAWQ-1480 - Added documentation for p...

Github user janebeckman commented on a diff in the pull request:

    https://github.com/apache/incubator-hawq-docs/pull/123#discussion_r140933386
  
    --- Diff: markdown/admin/packcore.html.md.erb ---
    @@ -0,0 +1,51 @@
    +---
    +title: HAWQ packcore utility
    +---
    +
    +<!--
    +Licensed to the Apache Software Foundation (ASF) under one
    +or more contributor license agreements.  See the NOTICE file
    +distributed with this work for additional information
    +regarding copyright ownership.  The ASF licenses this file
    +to you under the Apache License, Version 2.0 (the
    +"License"); you may not use this file except in compliance
    +with the License.  You may obtain a copy of the License at
    +  http://www.apache.org/licenses/LICENSE-2.0
    +Unless required by applicable law or agreed to in writing,
    +software distributed under the License is distributed on an
    +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    +KIND, either express or implied.  See the License for the
    +specific language governing permissions and limitations
    +under the License.
    +-->
    +
    +## <a id="core_file_definition"></a>Core file
    +
    +Core file is a disk file that records the image of a process' memory in case the process crashes or terminates abruptly. This image can be later used to debug the state of process at the time when it was terminated. This information can be very useful to debug the cause failure.
    +
    +## <a id="packcore_definition"></a>Packcore
    +
    +Packcore utility helps in packing a core file with its context – executable, application and system shared libraries from the current environment. This information can be later unpacked on a different system and can be used for debugging. Packcore takes a core file, extracts the name of the binary which generated the core and executes `ldd` (List Dynamic Dependencies) to get the required information into a single tar archive.
    --- End diff --
    
    The Packcore utility helps pack a core file with its context, including the executable, application, and shared system libraries from the current environment. This information can be unpacked for later debugging on a different system. Packcore extracts the name of the binary that generated the core from the core file, then executes `ldd` (List Dynamic Dependencies) to create a single tar archive containing the core file information.


---