Skip to content

Commit 0b1958e

Browse files
committed
Merge pull request Azure#1293 from Azure/master
Merge master -> dev for HDInsight release
2 parents 81c01c6 + 81b36fa commit 0b1958e

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

src/ResourceManager/HDInsight/AzureRM.HDInsight.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
@{
1010

1111
# Version number of this module.
12-
ModuleVersion = '1.0.1'
12+
ModuleVersion = '1.0.2'
1313

1414
# ID used to uniquely identify this module
1515
GUID = '3fd1475f-cb23-4ffb-bf08-33d94b7d1acb'

src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ var storageAccount in
249249
parameters.HeadNodeSize = value.HeadNodeSize;
250250
parameters.ZookeeperNodeSize = value.ZookeeperNodeSize;
251251
HiveMetastore = value.HiveMetastore;
252-
OozieMetastore = value.HiveMetastore;
252+
OozieMetastore = value.OozieMetastore;
253253
CertificateFilePath = value.CertificateFilePath;
254254
AadTenantId = value.AADTenantId;
255255
ObjectId = value.ObjectId;
@@ -332,7 +332,7 @@ var storageAccount in
332332
if (HiveMetastore != null)
333333
{
334334
var metastore = HiveMetastore;
335-
parameters.OozieMetastore = new Metastore(metastore.SqlAzureServerName, metastore.DatabaseName, metastore.Credential.UserName, metastore.Credential.Password.ConvertToString());
335+
parameters.HiveMetastore = new Metastore(metastore.SqlAzureServerName, metastore.DatabaseName, metastore.Credential.UserName, metastore.Credential.Password.ConvertToString());
336336
}
337337
if (CertificateFilePath != null && CertificatePassword != null)
338338
{

src/ResourceManager/HDInsight/Commands.HDInsight/Models/Job/AzureHDInsightJob.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public class AzureHDInsightJob
2828
/// <param name="cluster">The cluster that the jobDetails was created against.</param>
2929
public AzureHDInsightJob(JobDetailRootJsonObject jobDetails, string cluster)
3030
{
31-
Cluster = cluster.Substring(0, cluster.IndexOf('.') + 1);
31+
Cluster = cluster.Substring(0, cluster.IndexOf('.'));
3232
HttpEndpoint = cluster;
3333
State = jobDetails.Status.State;
3434
JobId = jobDetails.Id;
@@ -38,6 +38,7 @@ public AzureHDInsightJob(JobDetailRootJsonObject jobDetails, string cluster)
3838
User = jobDetails.User;
3939
Callback = jobDetails.Callback;
4040
Completed = jobDetails.Completed;
41+
StatusFolder = jobDetails.Userargs.Statusdir.ToString();
4142
}
4243

4344
/// <summary>
@@ -89,5 +90,10 @@ public AzureHDInsightJob(JobDetailRootJsonObject jobDetails, string cluster)
8990
/// Gets a string representing completed status, for example "done".
9091
/// </summary>
9192
public string Completed { get; set; }
93+
94+
/// <summary>
95+
/// Gets the status folder for the jobDetails.
96+
/// </summary>
97+
public string StatusFolder { get; set; }
9298
}
9399
}

src/ResourceManager/HDInsight/Commands.HDInsight/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@
2727
[assembly: ComVisible(false)]
2828
[assembly: CLSCompliant(false)]
2929
[assembly: Guid("57ad7b0e-1f56-4166-b1f9-ec6512139a54")]
30-
[assembly: AssemblyVersion(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyVersion)]
31-
[assembly: AssemblyFileVersion(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyFileVersion)]
30+
[assembly: AssemblyVersion("1.0.2")]
31+
[assembly: AssemblyFileVersion("1.0.2")]

0 commit comments

Comments
 (0)