Questions tagged [resourcemanager]

The resourcemanager is ambiguous. The main two subjects identified are the .net ResourceManager (related to resx), and the hadoop Resource Manager.

267 questions
10
votes
1 answer

Resourcemanager is returning same resource, although CultureInfo is specified

A very simple thing, and I can't get it to work. I want to globalise my dll thus I'm using resource files + the ResourceManager. I call the resourcemanager like this: var p = new ResourceManager("Appname.Default",…
Jochen van Wylick
  • 5,303
  • 4
  • 42
  • 64
9
votes
7 answers

Hadoop 2.6 Connecting to ResourceManager at /0.0.0.0:8032

I´m trying to run the following Spark example under Hadoop 2.6, but I get the following error: INFO RMProxy: Connecting to ResourceManager at /0.0.0.0:8032 and the Client enters in a loop trying to connect. I´m running a cluster of two machines, one…
Jose Antonio
  • 91
  • 1
  • 1
  • 4
8
votes
1 answer

Xamarin.Forms + .resx string resources - System.IO.FileNotFoundException: Invalid Image

I am creating a Xamarin.Forms app based on a C# shared code project and another two projects for the actual Android + iOS app. I now want to implement string localization like it is documented here. So I created a .net standard 2.0 library project…
Torben Schramme
  • 2,104
  • 1
  • 16
  • 28
8
votes
2 answers

How to use the ResourceManager web interface as an user

Every time i try to use the Hadoop Resource Manager web interface (http://resource-manger.host:8088/cluster/) i show up logged in as dr.who. My question, how can I login as another user? In this case i want to login as myself and have a higher lever…
SQL.injection
  • 2,607
  • 5
  • 20
  • 37
8
votes
2 answers

.NET WinForms localization - replacing ComponentResourceManager

In my current project (.NET Windows Forms application) I have a requirement that the .NET windows forms should be localized but the localization elements (just the translations, not the images or control positions) should come from the database in…
7
votes
5 answers

Getting Image by ResourceManager GetObject — Call it everytime or store the result?

Let's say that I have to show some graphics on some control. But there will be three images switched based on some condition. Three bitmap is added in the resource file. So, I retrieve them by calling ResourceManager.GetObject. The question is that,…
lexington
  • 73
  • 1
  • 3
7
votes
1 answer

C# Reading resource .resx file outside of assembly throws MissingManifestResourceException

I am working on a project which consists both Asp.Net web application and windows service application. These two can use a mutual project which I created just to contain resource files. I wanted to put the resource files out side of the assembly so…
ertanergun
  • 71
  • 4
7
votes
2 answers

Why is it better to call the ResourceManager class as opposed to loading resources directly by name?

I was working on localizing a large project, and I was doing that by creating a large resource file manually, and calling each string by name in the code. Instead of calling the ResourceManager and using GetString (for dialog boxes, etc), I was…
terrafv
  • 85
  • 1
  • 5
7
votes
2 answers

Should I use the static cached ResourceManager or a new instance for each web request? Does it matter?

What, if any are the performance (or other) implications of creating a new .NET ResourceManager on every request with new ResourceManger(myResourceType.FullName, myResourceType.Assembly) vs using the "cached ResourceManager instance" in the…
ChaseMedallion
  • 20,860
  • 17
  • 88
  • 152
6
votes
0 answers

Spark Standalone vs YARN

What features of YARN make it better than Spark Standalone mode for multi-tenant cluster running only Spark applications? Maybe besides authentication. There are a lot of answers at Google, pretty much of them sounds wrong to me, so I'm not sure…
VB_
  • 45,112
  • 42
  • 145
  • 293
6
votes
1 answer

asp.net Get all Resources from .resx Without Specifying Culture (ResourceManager.GetResourceSet )

I first came across a question similar to mine here at stack overflow: Loop through all Resources in ResourceManager - C#. It only solved part of what I need to do. When you request an entry in a resource file for a specific culture, if there is not…
Jason
  • 151
  • 1
  • 4
6
votes
4 answers

Hadoop Error starting ResourceManager and NodeManager

I'm trying to setup Hadoop3-alpha3 with a Single Node Cluster (Psuedo-distributed) and using the apache guide to do so. I've tried running the example MapReduce job but every time the connection is refused. After running sbin/start-all.sh I've been…
user2361174
  • 1,872
  • 4
  • 33
  • 51
6
votes
3 answers

ERROR org.apache.velocity : ResourceManager : unable to find resource 'xxx.html.vm' in any resource loader

I'm using Velocity templates along with Spring boot. When there is a file named 'xxx.vm' in templates directory, Spring Boot successfully loads 'xxx.vm'. But an ERROR message below is logged. "ERROR org.apache.velocity : ResourceManager : unable to…
Claire
  • 83
  • 1
  • 2
  • 6
6
votes
0 answers

Hadoop application hangs due to container token and NM token error

i'm new to Hadoop developing and i'm trying to install a multi-node cluster on Hadoop 2.4.1. However, i'm going through some issues. When i try to execute an example (wordcount or pi), the execution stops at INFO mapreduce.Job: Running job:…
6
votes
4 answers

ASP.Net and GetType()

I want to get a type of a "BasePage" object that I am creating. Every Page object is based off BasePage. For instance, I have a Login.aspx and in my code-behind and a class that has a method Display: Display(BasePage page) { ResourceManager…
Adam Driscoll
  • 9,395
  • 9
  • 61
  • 104
1
2
3
17 18