Skip to content

Commit 379c026

Browse files
Merge pull request #39 from Azure/dev
PR from parent
2 parents 79b2ece + d601cef commit 379c026

29 files changed

+0
-31
lines changed

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightConfigValuesCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ protected override void EndProcessing()
161161
{
162162
try
163163
{
164-
this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
165164
this.command.EndProcessing().Wait();
166165
foreach (AzureHDInsightConfig output in this.command.Output)
167166
{

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightMetastoreCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ protected override void EndProcessing()
106106
{
107107
try
108108
{
109-
this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
110109
this.command.EndProcessing().Wait();
111110
foreach (AzureHDInsightConfig output in this.command.Output)
112111
{

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightScriptActionCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ protected override void EndProcessing()
105105
{
106106
try
107107
{
108-
this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
109108
this.command.EndProcessing().Wait();
110109
foreach (AzureHDInsightConfig output in this.command.Output)
111110
{

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightStorageCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ protected override void EndProcessing()
8282
{
8383
try
8484
{
85-
this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
8685
this.command.EndProcessing().Wait();
8786
foreach (AzureHDInsightConfig output in this.command.Output)
8887
{

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AzureHDInsightCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ public abstract class AzureHDInsightCmdlet : AzurePSCmdlet
3838

3939
private ILogWriter logger;
4040

41-
4241
/// <summary>
4342
/// Gets or sets a value indicating whether logging should be enabled.
4443
/// </summary>

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AzureHdInsightPowerShellHardCodes.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,5 @@ internal class AzureHdInsightPowerShellConstants
104104
public const string Show = "Show";
105105
public const string Skip = "Skip";
106106
public const string ToDateTime = "To";
107-
108-
public const string AsmWarning =
109-
"WARNING: The Azure Service Management (ASM) cmdlets for HDInsight are deprecated and will be non-default in a future release, and they will be removed soon thereafter. Please use Switch-AzureMode AzureResourceManager to use the Azure Resource Manager cmdlets for HDInsight.";
110107
}
111108
}

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/GetAzureHDInsightClusterCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ protected override void EndProcessing()
108108
{
109109
try
110110
{
111-
this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
112111
this.command.CurrentSubscription = this.GetCurrentSubscription(this.Subscription, this.Certificate);
113112
this.command.Logger = this.Logger;
114113
Task task = this.command.EndProcessing();

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/GetAzureHDInsightJobCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ protected override void EndProcessing()
128128
{
129129
try
130130
{
131-
this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
132131
this.command.CurrentSubscription = this.GetCurrentSubscription(this.Subscription, this.Certificate);
133132
this.command.Logger = this.Logger;
134133
Task task = this.command.EndProcessing();

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/GetAzureHDInsightJobOutputCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ public string TaskLogsDirectory
140140
/// <inheritdoc />
141141
protected override void EndProcessing()
142142
{
143-
this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
144143
this.command.Logger = this.Logger;
145144
this.command.CurrentSubscription = this.GetCurrentSubscription(this.Subscription, this.Certificate);
146145
this.AssertTaskLogsDirectorySpecified(this.TaskLogsDirectory);

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/GetAzureHDInsightPropertiesCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ public string Subscription
106106
/// </summary>
107107
protected override void EndProcessing()
108108
{
109-
this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
110109
this.command.Logger = this.Logger;
111110
try
112111
{

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/GrantAzureHDInsightHttpServicesAccessCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ public string Subscription
130130
/// </summary>
131131
protected override void EndProcessing()
132132
{
133-
this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
134133
this.command.Enable = true;
135134
try
136135
{

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/GrantAzureHdinsightRdpAccessCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ public string Subscription
136136
/// </summary>
137137
protected override void EndProcessing()
138138
{
139-
this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
140139
this.command.Enable = true;
141140
try
142141
{

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/InvokeHiveCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ protected override void EndProcessing()
138138
this.command.Connection = currentConnection;
139139
try
140140
{
141-
this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
142141
this.command.Logger = this.Logger;
143142
this.command.CurrentSubscription = this.GetCurrentSubscription(string.Empty, null);
144143
Task task = this.command.EndProcessing();

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightClusterCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,6 @@ protected override void BeginProcessing()
436436
/// <inheritdoc />
437437
protected override void EndProcessing()
438438
{
439-
this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
440439
DateTime start = DateTime.Now;
441440
string msg = string.Format(CultureInfo.CurrentCulture, "Create Cluster Started : {0}", start.ToString(CultureInfo.CurrentCulture));
442441
this.Logger.Log(Severity.Informational, Verbosity.Detailed, msg);

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightClusterConfigCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ public string ZookeeperNodeVMSize
107107
/// </summary>
108108
protected override void EndProcessing()
109109
{
110-
this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
111110
this.command.EndProcessing().Wait();
112111
foreach (AzureHDInsightConfig output in this.command.Output)
113112
{

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightHiveJobDefinitionCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ public string StatusFolder
116116
/// </summary>
117117
protected override void EndProcessing()
118118
{
119-
this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
120119
if (this.File.IsNullOrEmpty() && this.Query.IsNullOrEmpty())
121120
{
122121
throw new PSArgumentException("Either File or Query should be specified for Hive jobs.");

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightMapReduceDefinitionCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ public string StatusFolder
118118
/// </summary>
119119
protected override void EndProcessing()
120120
{
121-
this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
122121
this.command.EndProcessing().Wait();
123122
foreach (AzureHDInsightMapReduceJobDefinition output in this.command.Output)
124123
{

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightPigJobDefinitionCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ public string StatusFolder
9090
/// </summary>
9191
protected override void EndProcessing()
9292
{
93-
this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
9493
if (this.File.IsNullOrEmpty() && this.Query.IsNullOrEmpty())
9594
{
9695
throw new PSArgumentException("Either File or Query should be specified for Pig jobs.");

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightSqoopJobDefinitionCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ public string StatusFolder
7979
/// </summary>
8080
protected override void EndProcessing()
8181
{
82-
this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
8382
if (this.File.IsNullOrEmpty() && this.Command.IsNullOrEmpty())
8483
{
8584
throw new PSArgumentException("Either File or Command should be specified for Sqoop jobs.");

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightStreamingJobDefinitionCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ public string StatusFolder
142142
/// </summary>
143143
protected override void EndProcessing()
144144
{
145-
this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
146145
this.command.EndProcessing().Wait();
147146
foreach (AzureHDInsightStreamingMapReduceJobDefinition output in this.command.Output)
148147
{

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/RemoveClusterHDInsightClusterCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ public string Subscription
105105
/// </summary>
106106
protected override void EndProcessing()
107107
{
108-
this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
109108
try
110109
{
111110
this.command.CurrentSubscription = this.GetCurrentSubscription(this.Subscription, this.Certificate);

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/RevokeAzureHDInsightHttpServicesAccessCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ public string Subscription
129129
/// </summary>
130130
protected override void EndProcessing()
131131
{
132-
this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
133132
this.command.Enable = false;
134133
try
135134
{

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/RevokeAzureHDInsightRdpAccessCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ public string Subscription
134134
/// </summary>
135135
protected override void EndProcessing()
136136
{
137-
this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
138137
this.command.Enable = false;
139138
try
140139
{

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/SetAzureHDInsightClusterSizeCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ public SetAzureHDInsightClusterSizeCmdlet()
124124

125125
protected override void EndProcessing()
126126
{
127-
this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
128127
if (Cluster != null)
129128
{
130129
Name = Cluster.Name;

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/SetAzureHDInsightDefaultStorageCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ public string StorageContainerName
8888
/// <inheritdoc />
8989
protected override void EndProcessing()
9090
{
91-
this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
9291
this.command.EndProcessing().Wait();
9392
foreach (AzureHDInsightConfig output in this.command.Output)
9493
{

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/StartAzureHDInsightJobCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ public string Subscription
126126
/// <inheritdoc />
127127
protected override void EndProcessing()
128128
{
129-
this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
130129
try
131130
{
132131
this.command.Logger = this.Logger;

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/StopAzureHDInsightJobCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ public string Subscription
123123
/// <inheritdoc />
124124
protected override void EndProcessing()
125125
{
126-
this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
127126
try
128127
{
129128
this.command.Logger = this.Logger;

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/UseAzureHDInsightClusterCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ public string Subscription
109109
/// </summary>
110110
protected override void EndProcessing()
111111
{
112-
this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
113112
try
114113
{
115114
this.command.Logger = this.Logger;

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/WaitAzureHDInsightJobCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ public double WaitTimeoutInSeconds
158158
/// <inheritdoc />
159159
protected override void EndProcessing()
160160
{
161-
this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
162161
try
163162
{
164163
this.command.Logger = this.Logger;

0 commit comments

Comments
 (0)