If you upgrade to or install HDP 2.5.0 or later without first installing the Berkeley DB file, you will get the error "Unable to initialize Falcon Client object. Cause : Could not authenticate, Authentication failed".
Starting with the HDP 2.5.0 release, customers must provide the free Berkeley DB JAR file, under the Oracle license, as part of a Falcon installation or upgrade. This applies to Ambari express or rolling upgrades, to manual upgrades, and to all installations of HDP 2.5.0 or later, if you are using the Falcon service.
Following are both Ambari and manual instructions for downloading and installing the JAR.
Ambari Install or Upgrade of Falcon
If you are using the Falcon service, the following steps must be
performed on all Ambari server hosts on the cluster, prior to installing or
upgrading to HDP 2.5.0 or later.