Dataproc job details not showing on the web console - google-cloud-dataproc

For some reason, Google Dataproc web console is not displaying job outputs anymore. I've try using Chrome Incognito as well as Safari. The 3 blue dots keep cycling and I never see anything. Clicking "Line wrapping" didn't help. Workaround is to use the gcloud command but I kind of like to be able to see it on the console as I can check on my jobs from anywhere, not just on a machine with the gcloud tools installed.

Related

Using VSCode to launch apps in GCP

not sure if this has been asked before though I couldn't find it. I am using GCP services such as app engine, secret manager and storage but am using the Cloud Shell editor. Though I like it, I prefer coding on VScode due to familiarity. Any help on how could I achieve this on my VS code terminal?
#Sachin - We have support for all the features that are available in Cloud Shell in the local VSCode IDE through the cloud code plugin. Here is where you want to get started.
Quick start & Install
Plugin on VSCode Marketplace

Can't Authorize Dev Hub or Org in SF/VS Code Env. Setup for SF

I'm trying to Authorize Dev Hub in SF, It opens up a browser window to login and once I put my Credentials and click login, The Page Simply Keeps Loading, Never Finishes loading.
I have everything in place, SFDX is installed, VS Code Extensions for SF installed, The Dev Hub is enabled from the App settings.
Saw Various Videos and Articles on this but no solution works in my case. Tried all options available in VS Code Command Palette related to Authorization and also tried doing it using cmd.
Please Help.
Thanks in Advance
Any Other Information can be provided on demanded.
You need to make sure that your user profile has access to the connected apps like Salesforce CLI.
I had the same issue. So, I created a permission set and added this set to my user. That solved the problem.
Try to install this plugin with the following command: "sfdx plugins:install salesforcedx#48.22.11"

Is KubeFlow still supported on GCP?

I am trying to use KubeFlow on GCP and I am following this codelab, but "click-to-deploy" is no longer supported so I followed the documentation of "kubectl and kpt". However, I keep getting this "You cannot perform this action because the Cloud SDK component manager is disabled for this installation." error and none of the solutions I found worked. I have 2 other friends told me they tried to make KubeFlow work since last year, it never worked, but I did see people post question about KubeFlow on Stackoverflow still, so I want to ask if it is still working, if so, where can I find a decent guide to follow?
Thanks!
I finally got it working. For that error message, it turned out that I just didn't install the Cloud SDK properly. There will be a lot of other issues too down the road, but at least the KubeFlow web UI is working for me now.
yes, as the kubectl and kpt says, the first step in getting prepared to install cluster is installing gcloud that is CLI that manages authentication, local configuration, developer workflow, interactions with Google Cloud APIs.
Without is you simply cant work with objects(in your case you need to enable kpt anthoscli beta) and perform tasks like
creating a Compute Engine VM instance, managing a Google Kubernetes
Engine cluster, and deploying an App Engine application, either from
the command line or in scripts and other automations..

Unable to install gcloud SDK

When I try to install google cloud SDK, I was getting the following error:
ERROR:
(gcloud.components.update) Failed to fetch component listing from
server. Check your network settings and try again. This will install
all the core command line tools necessary for working with the Google
Cloud Platform. Failed to install.
After reinstalling python (v3.7.0), I added the path and also added CLOUDSDK_PYTHON environment variable to make sure. Now when I attempt the installation, the installation simply hangs:
If I attempt the installation trough terminal by executing install.bat, it also gets stuck after requesting to send diagnostics to google:
Welcome to the Google Cloud SDK!
Active code page: 65001
To help improve the quality of this product, we collect anonymized usage data
and anonymized stacktraces when crashes are encountered; additional information
is available at <https://cloud.google.com/sdk/usage-statistics>. This data is
handled in accordance with our privacy policy
<https://policies.google.com/privacy>. You may choose to opt in this
collection now (by choosing 'Y' at the below prompt), or at any time in the
future by running the following command:
gcloud config set disable_usage_reporting false
Do you want to help improve the Google Cloud SDK (y/N)? n
Nothing gets printed after that.
it seems that the "(gcloud.components.update) Failed to fetch component listing from server" error might be caused by some proxies or antivirus in your environment, I'd recommend you to try a clean installation in a vm or using another network.
Also, I was able to find soem similar errors for this on issue tracker and the team gave a soltion at comment10, also, as you can see on the issue tracker, sometimes this behavior is because the Python SDK is installed on default "Program Files" location, you could give it a try by changing the location of the python SDK

Cannot Sign In to OpenShift using Eclipse IDE

I am currently learning OpenShift and would like to experiment with a few examples. I have created an OpenShift account (using my github account as a login) and was able to create a new project and deploy an application online. Note that I'm using OpenShift Online (Developer Preview) which I think is OpenShift 3.
Now, I'd like to import that OpenShift project into Eclipse IDE. However, I cannot sign in to connect to the online server.
I tried both the versions 2 and 3 of the OpenShift server unsuccessfully. Attached is a screenshot of the error I'm getting
As shown on the screenshot, I can get a token when clicking the retrieve link (which does take me to the OpenShift site, with a token generated. This shows that eclipse does connect to https//console.preview.openshift.com).
I've also tried authentication with both username and password, leading to the same outcome.
Any help is appreciated.
This error is because you are using the free version. You need to use you console address in 'Server:' that you get after clicking the 'Open Web Console' button that you get after logging in to openshift.
This url should be something like this: "https://console.starter-us-east-1.openshift.com/console/catalog". You may use just "https://console.starter-us-east-1.openshift.com". And then click 'Next', it should work.