diff --git hcatalog/src/test/e2e/templeton/drivers/TestDriverCurl.pm hcatalog/src/test/e2e/templeton/drivers/TestDriverCurl.pm index ea718c3..66a6ca1 100644 --- hcatalog/src/test/e2e/templeton/drivers/TestDriverCurl.pm +++ hcatalog/src/test/e2e/templeton/drivers/TestDriverCurl.pm @@ -1035,7 +1035,7 @@ ($$) sub setLocationPermGroup{ my ($self, $job_info, $testCmd, $log) = @_; my $location = $job_info->{'location'}; - $location =~ /hdfs.*:\d+(\/.*)\/(.*)/; + $location =~ /hdfs:\/\/[^\/]*(\/.*)\/(.*)/; my $dir = $1; my $file = $2;