Backup Error: "the folder for $DGRAPH_INDEX_DIR does not contain any indexes." (Doc ID 2253053.1)

Last updated on MAY 05, 2017

Applies to:

Oracle Big Data Discovery - Version 1.3.0.0.0 and later
Information in this document applies to any platform.

Symptoms

BDD 1.3.0.0.0

 

While trying to run a backup, the bdd-admin displays the following:


[Error] the folder for /mapr/ATHENA-AS-S/apps/bdd/bdd_dgraph_index does not contain any indexes.

function check_index_exist {
message_debug "index-0. Checking the folder for $DGRAPH_INDEX_DIR."
ssh_command "$DGRAPH_SYSTEM_LIST" "ls $DGRAPH_INDEX_DIR/*_indexes"
if [ $? -ne 0 ]
then
error "$ERROR" "the folder for $DGRAPH_INDEX_DIR does not contain any indexes."
fi

function ssh_command {
ret=1
if [ "$1" == "$ADMIN_SYSTEM_NAME" ]
then
local_command=$2
$local_command 1> /dev/null 2>&1
else
ssh -o StrictHostKeyChecking=no $1 "$2" 1> /dev/null 2>&1
fi
ret=$?
return $ret
}

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms