Skip to content

Commit

Permalink
AMBARI-18536. Components can't be started because of failed webhdfs r…
Browse files Browse the repository at this point in the history
…equest (aonishuk)
  • Loading branch information
aonishuk committed Oct 6, 2016
1 parent eacc212 commit be9ae72
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def run_command(self, target, operation, method='POST', assertable_result=True,
cmd = ["curl", "-sS","-L", "-w", "%{http_code}", "-X", method]

if file_to_put:
cmd += ["--data-binary", "@"+file_to_put]
cmd += ["--data-binary", "@"+file_to_put, "-H", "Content-Type: application/octet-stream"]
if self.security_enabled:
cmd += ["--negotiate", "-u", ":"]
if self.is_https_enabled:
Expand Down

0 comments on commit be9ae72

Please sign in to comment.