Repository: ambari Updated Branches: refs/heads/branch-2.6 41329e3b7 -> 4b428571f
AMBARI-22558. Snapshot HBase task failed during IOP migration with TypeError (dlysnichenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/4b428571 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/4b428571 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/4b428571 Branch: refs/heads/branch-2.6 Commit: 4b428571f83d3b412b85ed92385525c3f568dfc3 Parents: 41329e3 Author: Lisnichenko Dmitro <[email protected]> Authored: Thu Nov 30 23:23:55 2017 +0200 Committer: Lisnichenko Dmitro <[email protected]> Committed: Thu Nov 30 23:23:55 2017 +0200 ---------------------------------------------------------------------- .../4.2/services/HBASE/package/scripts/params.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/4b428571/ambari-server/src/main/resources/stacks/BigInsights/4.2/services/HBASE/package/scripts/params.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/BigInsights/4.2/services/HBASE/package/scripts/params.py b/ambari-server/src/main/resources/stacks/BigInsights/4.2/services/HBASE/package/scripts/params.py index c0c314d..3674362 100755 --- a/ambari-server/src/main/resources/stacks/BigInsights/4.2/services/HBASE/package/scripts/params.py +++ b/ambari-server/src/main/resources/stacks/BigInsights/4.2/services/HBASE/package/scripts/params.py @@ -20,16 +20,20 @@ limitations under the License. import ambari_simplejson as json # simplejson is much faster comparing to Python 2.6 json module and has the same functions set. from ambari_commons.constants import AMBARI_SUDO_BINARY from functions import calc_xmn_from_xms, ensure_unit_for_memory +import status_params +from resource_management.libraries.script import Script +from resource_management.libraries.resources.hdfs_resource import HdfsResource +from resource_management.libraries import functions +from resource_management.libraries.functions.is_empty import is_empty +from resource_management.libraries.functions import format from resource_management.libraries.functions.version import format_stack_version, compare_versions +from resource_management.libraries.functions import StackFeature from resource_management.libraries.functions.stack_features import check_stack_feature from resource_management.libraries.functions.stack_features import get_stack_feature_version from resource_management.libraries.functions.default import default -from resource_management import * +from resource_management.libraries.functions.expect import expect from resource_management.libraries.functions import conf_select from resource_management.libraries.functions import stack_select -from resource_management.libraries.functions.expect import expect -import status_params -from hbase import * def treat_value_as_mb(value1): value = str(value1)
